summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-02 19:46:23 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-04 21:38:18 +0300
commit3a7afd8ee42a68d4f24ab9c947a4ef82d4d52375 (patch)
treefcbba0a200f7f8ee20864983f75e826ea0c62d2a /include
parentd1ed6aa14bc418531220478604c7b12c5e98fdca (diff)
downloadlinux-3a7afd8ee42a68d4f24ab9c947a4ef82d4d52375.tar.xz
nvme-pci: remove the CQ lock for interrupt driven queues
Now that we can't poll regular, interrupt driven I/O queues there is almost nothing that can race with an interrupt. The only possible other contexts polling a CQ are the error handler and queue shutdown, and both are so far off in the slow path that we can simply use the big hammer of disabling interrupts. With that we can stop taking the cq_lock for normal queues. Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions