mbox series

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

Message ID 20231218211342.2179689-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Improve I/O priority support in mq-deadline for zoned writes | expand

Message

Bart Van Assche Dec. 18, 2023, 9:13 p.m. UTC
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