Re: [PATCH v4 1/3] block: add ioprio_check_cap function
From: Christoph Hellwig
Date: Fri May 18 2018 - 11:08:12 EST
On Thu, May 17, 2018 at 01:38:01PM -0700, adam.manzanares@xxxxxxx wrote:
> From: Adam Manzanares <adam.manzanares@xxxxxxx>
>
> Aio per command iopriority support introduces a second interface between
> userland and the kernel capable of passing iopriority. The aio interface also
> needs the ability to verify that the submitting context has sufficient
> priviledges to submit IOPRIO_RT commands. This patch creates the
> ioprio_check_cap function to be used by the ioprio_set system call and also by
> the aio interface.
>
> Signed-off-by: Adam Manzanares <adam.manzanares@xxxxxxx>
Looks fine,
Reviewed-by: Christoph Hellwig <hch@xxxxxx>