Skip to content

rbd: enable multiple blk-mq queues

Ilya Dryomov ceph-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rbd: kill img_request krefdrivers/block/rbd.c+5 -190 replies
2/5rbd: get rid of img_request_layered_clear()drivers/block/rbd.c+1 -80 replies
3/5rbd: acquire header_rwsem just once in rbd_queue_workfn()drivers/block/rbd.c+31 -280 replies
4/5rbd: embed image request in blk-mq pdudrivers/block/rbd.c+51 -870 replies
5/5rbd: enable multiple blk-mq queuesdrivers/block/rbd.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] rbd: enable multiple blk-mq queues

Hi Hannes,

Here is what I intend to queue for 5.7. I didn't hear from you on the need to protect the object request list, the impact of image request state_mutex on performance or the problem with queue_rq(), so I concentrated on the tail of your series and reworked the payload patch to avoid acquiring header_rwsem at least twice for each I/O.

I observed the same ~25-30% improvement in some rough synthetic tests on a laptop (random 4k reads with very high queue depth in particular). I assume you did your testing on real hardware -- it would be great if you could share some details.

Thanks,

Ilya

Hannes Reinecke (2):
rbd: kill img_request kref
rbd: enable multiple blk-mq queues

Ilya Dryomov (3):
rbd: get rid of img_request_layered_clear()
rbd: acquire header_rwsem just once in rbd_queue_workfn()
rbd: embed image request in blk-mq pdu

 drivers/block/rbd.c | 212 +++++++++++++++++---------------------------
 1 file changed, 79 insertions(+), 133 deletions(-)
Signature · 1 line
2.19.2