Re: [PATCH 1/2] fs: add RWF_IOPRIO

From: Christoph Hellwig
Date: Wed May 02 2018 - 13:32:15 EST


On Mon, Apr 30, 2018 at 09:57:39AM -0700, adam.manzanares@xxxxxxx wrote:
> From: Adam Manzanares <adam.manzanares@xxxxxxx>
>
> This is the per-I/O equivalent of the ioprio_set system call.
>
> When the RWF_IOPRIO flag is set then the aio_reqprio field of the iocb
> is interpreted as an I/O scheduling class and priority.

I think this belongs into the IOCB_FLAG_* flags namespace for aio_flags
field as it isn't a field valid for plain read/write.

Also you probably want to merge both patches as they only really
make sense together.