Skip to content

Improve I/O priority support in mq-deadline for zoned writes

Bart Van Assche linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v13 patches 44 repliesSuperseded

Changes in v2 from the cover letter

- Changed the approach from ignoring the I/O priority of zoned writes to using the I/O priority of pending zoned writes.
- Included two unit tests.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block/mq-deadline: Rename dd_rq_ioclass() and change its return typeblock/mq-deadline.c+14 -210 replies
2/4block/mq-deadline: Introduce dd_bio_ioclass()block/mq-deadline.c+6 -20 replies
3/4block/mq-deadline: Introduce deadline_first_rq_past_pos()block/mq-deadline.c+24 -110 replies
4/4block/mq-deadline: Prevent zoned write reordering due to I/O prioritizationblock/Kconfig.iosched block/mq-deadline.c block/mq-deadline_test.c +1 more+268 -107 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Improve I/O priority support in mq-deadline for zoned writes

Hi Jens,

This patch series prevents that the mq-deadline I/O scheduler submits zoned writes out of order if different writes for the same zone have different I/O priorities. Please consider these patches for the next merge window.

Thanks,

Bart.

Changes compared to v1:
- Changed the approach from ignoring the I/O priority of zoned writes to using the I/O priority of pending zoned writes.
- Included two unit tests.

Bart Van Assche (4):
block/mq-deadline: Rename dd_rq_ioclass() and change its return type block/mq-deadline: Introduce dd_bio_ioclass() block/mq-deadline: Introduce deadline_first_rq_past_pos() block/mq-deadline: Prevent zoned write reordering due to I/O
prioritization

 block/Kconfig.iosched    |   5 ++
 block/mq-deadline.c      | 135 +++++++++++++++++++++++-------
 block/mq-deadline_test.c | 175 +++++++++++++++++++++++++++++++++++++++
 include/linux/blk-mq.h   |  17 ++++
 4 files changed, 300 insertions(+), 32 deletions(-)
 create mode 100644 block/mq-deadline_test.c