Re: [PATCH 1/2] block/mq-deadline: disable I/O priority when prio_aging_expire is zero

Bart Van Assche <[email protected]>
Newsgroups org.kernel.vger.linux-block
Message-ID <[email protected]>
On 8/19/26 7:12 PM, Ye Bin wrote:
> Since the mq-deadline scheduler introduced support for I/O priorities,
> if a process does not have an I/O priority configured, it becomes bound
> to the process's scheduling priority.

How can this happen? The scheduling priority (sched_setparam()) and I/O
priority (ioprio_set()) are independent as far as I know.

> Setting prio_aging_expire to zero does not actually turn off I/O
> priority in mq-deadline.

prio_aging_expire should not be set to zero. Feel free to submit a patch
that disallows setting prio_aging_expire to zero.

Thanks,

Bart.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.