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

From: Andreas GrÃnbacher
Date: Tue Jul 07 2020 - 17:42:35 EST


Am Di., 7. Juli 2020 um 20:40 Uhr schrieb Jens Axboe <axboe@xxxxxxxxx>:
> 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?

Sure.

Andreas