On 6/17/21 6:44 PM, 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: > * Add an rq-qos policy that makes the I/O priority configurable per I/O cgroup > and also that changes 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. > * Dispatch the highest priority requests first. > > Please consider this patch series for kernel v5.14. Applied, thanks Bart. -- Jens Axboe