Re: [PATCH 3/7] block: Fix get_task_ioprio() default return value

2018-11-19 Thread Damien Le Moal
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: > > 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 IOPR

Re: [PATCH 3/7] block: Fix get_task_ioprio() default return value

2018-11-19 Thread Christoph Hellwig
On Mon, Nov 19, 2018 at 12:51:27PM +0900, Damien Le Moal wrote: > 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 documenta

[PATCH 3/7] block: Fix get_task_ioprio() default return value

2018-11-18 Thread Damien Le Moal
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. Signed-off-by: Damien Le Moal --- block/ioprio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(