Improve I/O priority support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 55 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | block/mq-deadline: Add several commentsblock/ | +18 | 5 replies | |
| 2/9 | block/mq-deadline: Add two lockdep_assert_held() statementsblock/ | +4 | 5 replies | |
| 3/9 | block/mq-deadline: Remove two local variablesblock/ | +2 | 5 replies | |
| 4/9 | block/mq-deadline: Rename dd_init_queue() and dd_exit_queue()block/ | +4 | 6 replies | |
| 5/9 | block/mq-deadline: Improve compile-time argument checkingblock/ | +49 | 7 replies | |
| 6/9 | block/mq-deadline: Reduce the read expiry time for non-rotational mediablock/ | +5 | 5 replies | |
| 7/9 | block/mq-deadline: Reserve 25% of tags for synchronous requestsblock/ | +46 | 4 replies | |
| 8/9 | block/mq-deadline: Add I/O priority supportblock/ | +223 | 5 replies | |
| 9/9 | block/mq-deadline: Add cgroup supportblock/ block/ block/ +2 more | +370 | 1 reply |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Chaitanya Kulkarni | Damien Le Moal | Hannes Reinecke | Johannes Thumshirn | Himanshu Madhani |
|---|---|---|---|---|---|
| 1/9 | R-b | R-b | R-b | ||
| 2/9 | R-b | R-b | R-b | R-b | R-b |
| 3/9 | R-b | R-b | R-b | R-b | R-b |
| 4/9 | R-b | R-b | R-b | R-b | R-b |
| 5/9 | R-b | R-b | R-b | R-b | |
| 6/9 | R-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.
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