]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nvme-pci: split the nvme queue lock into submission and completion locks
authorJens Axboe <axboe@kernel.dk>
Thu, 17 May 2018 16:31:51 +0000 (18:31 +0200)
committerKeith Busch <keith.busch@intel.com>
Fri, 18 May 2018 20:41:36 +0000 (14:41 -0600)
commit1ab0cd6966fc4a7e9dfbd7c6eda917ae9c977f42
tree76baa40276578d79e113b75f8f3d2bcb3bbe6640
parent5cb525c8315f1dd9232b59cd1cf1e0f19ff1a5df
nvme-pci: split the nvme queue lock into submission and completion locks

This is now feasible. We protect the submission queue ring with
->sq_lock, and the completion side with ->cq_lock.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c