Skip to content

Split queue lock into submission/completion locks

Jens Axboe linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: remove ->cq_vector == -1 check in nvme_queue_rq()drivers/nvme/host/pci.c+0 -52 replies
1/3nvme: remove ->cq_vector == -1 check in nvme_queue_rq()+0 -01 reply
1/3nvme: remove ->cq_vector == -1 check in nvme_queue_rq()+0 -01 reply
1/3nvme: remove ->cq_vector == -1 check in nvme_queue_rq()+0 -01 reply
2/3nvme: split the nvme queue lock into submission and completion locksdrivers/nvme/host/pci.c+19 -171 reply
2/3nvme: split the nvme queue lock into submission and completion locks+0 -00 replies
3/3nvme: drop IRQ disabling on submission queue lockdrivers/nvme/host/pci.c+4 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)