[PATCHSET 0/3] Split queue lock into submission/completion locks

Jens Axboe axboe at kernel.dk
Thu May 17 08:02:14 PDT 2018


This series is on top of the previous work from yesterday, including
Christophs patch. It splits nvmeq->q_lock into two locks:

1) ->sq_lock, that protects the submission side of things
2) ->cq_lock, that protects the completion side

This also means that we can drop the IRQ safe nature of the submission
side locking.

 drivers/nvme/host/pci.c | 41 +++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 22 deletions(-)




More information about the Linux-nvme mailing list