Re: [RFC v3 1/2] fs: Add IOCB_NOIO flag for generic_file_read_iter

From: Jens Axboe
Date: Tue Jul 07 2020 - 14:39:33 EST


On 7/7/20 8:44 AM, Andreas Gruenbacher wrote:
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index 3f881a892ea7..1ab2ea19e883 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -315,6 +315,7 @@ enum rw_hint {
> #define IOCB_SYNC (1 << 5)
> #define IOCB_WRITE (1 << 6)
> #define IOCB_NOWAIT (1 << 7)
> +#define IOCB_NOIO (1 << 8)

Just to make this even more trivial in terms of merge conflicts, could
you do 1 << 9 instead?

--
Jens Axboe