Skip to content

blk-mq: merge bio into sw queue before plugging

Ming Lei linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- remove a 'goto' in patch 1, as suggested by Christoph

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: merge bio into sw queue before pluggingblock/blk-mq.c+26 -220 replies
2/2blk-mq: make per-sw-queue bio merge as default .bio_mergeblock/blk-mq-sched.c block/blk-mq-sched.h block/blk-mq.c+58 -720 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] blk-mq: merge bio into sw queue before plugging

Hi,

The 1st patch moves sw queue's bio merge before plugging, then the sequential I/O performance regression by blk-mq can be fixed.

The 2nd patch makes the sw queue's bio merge as the default .bio_merge if no io scheduler is used or the io scheduler doesn't provide .bio_merge.

This post splits the orginal one into two patches to make diff easy-read as suggested by Christoph.

V2:
- remove a 'goto' in patch 1, as suggested by Christoph

Thanks,
Ming

Ming Lei (2):
blk-mq: merge bio into sw queue before plugging
blk-mq: make per-sw-queue bio merge as default .bio_merge

 block/blk-mq-sched.c | 62 ++++++++++++++++++++++++++++++++++++----
 block/blk-mq-sched.h |  4 +--
 block/blk-mq.c       | 80 +++++++---------------------------------------------
 3 files changed, 68 insertions(+), 78 deletions(-)
Signature · 1 line
2.9.4