On 27/05/2021 03:01, Bart Van Assche wrote: > 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 > I think the above 5 patches can go in independently as cleanups.