Re: [PATCH 3/7] block: Fix get_task_ioprio() default return value
From: Damien Le Moal <hidden>
Date: 2018-11-20 12:13:47
Also in:
linux-fsdevel
From: Damien Le Moal <hidden>
Date: 2018-11-20 12:13:47
Also in:
linux-fsdevel
On Mon, 2018-11-19 at 00:16 -0800, Christoph Hellwig wrote:
On Mon, Nov 19, 2018 at 12:51:27PM +0900, Damien Le Moal wrote:quoted
As explained in ioprio_get() and ionice man pages, the default I/O priority class for processes which have not set an I/O priority using ioprio_set() is IOPRIO_CLASS_BE and not IOPRIO_CLASS_NONE.While this matches the documentation, we've returned the current values for 10 years, and before that plain 0 without any ioprio magic. It might be safer to just fix the documentation.
OK. Will send a patch to fix the man pages.