Skip to content

Improve I/O priority support

Bart Van Assche linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 55 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9block/mq-deadline: Add several commentsblock/mq-deadline.c+18 -05 replies
2/9block/mq-deadline: Add two lockdep_assert_held() statementsblock/mq-deadline.c+4 -05 replies
3/9block/mq-deadline: Remove two local variablesblock/mq-deadline.c+2 -65 replies
4/9block/mq-deadline: Rename dd_init_queue() and dd_exit_queue()block/mq-deadline.c+4 -46 replies
5/9block/mq-deadline: Improve compile-time argument checkingblock/mq-deadline.c+49 -477 replies
6/9block/mq-deadline: Reduce the read expiry time for non-rotational mediablock/mq-deadline.c+5 -25 replies
7/9block/mq-deadline: Reserve 25% of tags for synchronous requestsblock/mq-deadline.c+46 -04 replies
8/9block/mq-deadline: Add I/O priority supportblock/mq-deadline.c+223 -705 replies
9/9block/mq-deadline: Add cgroup supportblock/Kconfig.iosched block/Makefile block/mq-deadline-cgroup.c +2 more+370 -121 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchChaitanya KulkarniDamien Le MoalHannes ReineckeJohannes ThumshirnHimanshu Madhani
1/9R-b R-b R-b
2/9R-b R-b R-b R-b R-b
3/9R-b R-b R-b R-b R-b
4/9R-b R-b R-b R-b R-b
5/9R-b R-b R-b R-b
6/9R-b R-b
7/9
8/9
9/9

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

Read the v1 thread

Cover letter [PATCH 0/9] Improve I/O priority support

Hi Jens,

A feature that is missing from the Linux kernel for storage devices that support I/O priorities is to set the I/O priority in requests involving page cache writeback. Since the identity of the process that triggers page cache writeback is not known in the writeback code, the priority set by ioprio_set() is ignored. However, an I/O cgroup is associated with writeback requests by certain filesystems. Hence this patch series that implements the following changes for the mq-deadline scheduler:
* Make the I/O priority configurable per I/O cgroup.
* Change the I/O priority of requests to the lower of (request I/O priority, cgroup I/O priority).
* Introduce one queue per I/O priority in the mq-deadline scheduler.

Please consider this patch series for kernel v5.14.

Thanks,

Bart.

Bart Van Assche (9):
block/mq-deadline: Add several comments block/mq-deadline: Add two lockdep_assert_held() statements block/mq-deadline: Remove two local variables block/mq-deadline: Rename dd_init_queue() and dd_exit_queue() block/mq-deadline: Improve compile-time argument checking block/mq-deadline: Reduce the read expiry time for non-rotational
media
block/mq-deadline: Reserve 25% of tags for synchronous requests block/mq-deadline: Add I/O priority support block/mq-deadline: Add cgroup support

 block/Kconfig.iosched      |   6 +
 block/Makefile             |   1 +
 block/mq-deadline-cgroup.c | 206 +++++++++++++++
 block/mq-deadline-cgroup.h |  73 ++++++
 block/mq-deadline.c        | 524 +++++++++++++++++++++++++++++--------
 5 files changed, 695 insertions(+), 115 deletions(-)
 create mode 100644 block/mq-deadline-cgroup.c
 create mode 100644 block/mq-deadline-cgroup.h