Re: [PATCH v2 0/2] allow overlayfs to do RCU lookups

From: Miklos Szeredi
Date: Wed Aug 18 2021 - 11:03:44 EST


On Wed, 18 Aug 2021 at 16:27, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Aug 18, 2021 at 03:33:58PM +0200, Miklos Szeredi wrote:
> > I'd really like to fix this in some form, but not getting any response
> > [1][2][3].
> >
> > Al, Linus, can you please comment?
> >
> > I'm happy to take this through the overlayfs tree, just need an ACK for the
> > VFS API change.
>
> Looks reasonable enough; I'm not too happy about yet another place LOOKUP_...
> details get tangled into, though. Do we want it to be more than just a
> bool rcu?

I'd be fine with that change. Calling with false/true is less
descriptive than calling with 0/LOOKUP_RCU but I guess we can leave
the actual calls to use the latter?

Thanks,
Miklos