Skip to content

blk-mq: unify hardware queue run handlers

Jens Axboe linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3blk-mq: unify hctx delayed_run_work and run_workblock/blk-core.c block/blk-mq.c include/linux/blk-mq.h+8 -246 replies
2/3block: add kblock_mod_delayed_work_on()block/blk-core.c include/linux/blkdev.h+8 -02 replies
3/3blk-mq: unify hctx delay_work and run_workblock/blk-core.c block/blk-mq.c include/linux/blk-mq.h+24 -173 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigBart Van AsscheMing Lei
1/3R-b R-b R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] blk-mq: unify hardware queue run handlers

We currently have three of them, one normal work queue item, and two delayed work queue items. The two delayed items differ in that one of them only runs the queue it was previously stopped, that's it. The non-delayed one is identical to the non stopped checking delayed variant.

Sending this out for early review, as I'll be heading on vacation shortly. This is untested, just compiled.

This shrinks the size of a hardware queue from 832 bytes (13 cachelines) to 704 bytes (11 cachelines) on my setup. That's quite a substantial win.

Patches are against my 4.12 branch.

Signature · 1 line
Jens Axboe