Re: [PATCH] vfs: allow stacked ->get_acl() in RCU lookup

2021-04-12 Thread Miklos Szeredi
On Tue, Mar 23, 2021 at 5:07 PM Miklos Szeredi wrote: > > Overlayfs does not cache ACL's to avoid double caching with all its > problems. Instead it just calls the underlying filesystem's > i_op->get_acl(), which will return the cached value, if possible. > > In rcu path walk, however, get_cached

[PATCH] vfs: allow stacked ->get_acl() in RCU lookup

2021-03-23 Thread Miklos Szeredi
Overlayfs does not cache ACL's to avoid double caching with all its problems. Instead it just calls the underlying filesystem's i_op->get_acl(), which will return the cached value, if possible. In rcu path walk, however, get_cached_acl_rcu() is employed to get the value from the cache, which will