Re: [PATCH RESEND V12 1/8] fs: Generic function to convert iocb to rw flags

2021-03-24 Thread Alessio Balsini
On Wed, Mar 24, 2021 at 03:43:12PM +0800, Rokudo Yan wrote: > On 1/26/21 12:46 AM, Alessio Balsini wrote: > > On Mon, Jan 25, 2021 at 03:30:50PM +, Alessio Balsini wrote: > > > OverlayFS implements its own function to translate iocb flags into rw > > > flags, so that they can be passed into ano

Re: [PATCH RESEND V12 1/8] fs: Generic function to convert iocb to rw flags

2021-03-24 Thread Rokudo Yan
On 1/26/21 12:46 AM, Alessio Balsini wrote: On Mon, Jan 25, 2021 at 03:30:50PM +, Alessio Balsini wrote: OverlayFS implements its own function to translate iocb flags into rw flags, so that they can be passed into another vfs call. With commit ce71bfea207b4 ("fs: align IOCB_* flags with RWF_

[PATCH RESEND V12 1/8] fs: Generic function to convert iocb to rw flags

2021-01-25 Thread Alessio Balsini
OverlayFS implements its own function to translate iocb flags into rw flags, so that they can be passed into another vfs call. With commit ce71bfea207b4 ("fs: align IOCB_* flags with RWF_* flags") Jens created a 1:1 matching between the iocb flags and rw flags, simplifying the conversion. Reduce t

Re: [PATCH RESEND V12 1/8] fs: Generic function to convert iocb to rw flags

2021-01-25 Thread Alessio Balsini
On Mon, Jan 25, 2021 at 03:30:50PM +, Alessio Balsini wrote: > OverlayFS implements its own function to translate iocb flags into rw > flags, so that they can be passed into another vfs call. > With commit ce71bfea207b4 ("fs: align IOCB_* flags with RWF_* flags") > Jens created a 1:1 matching b