Re: [PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-05 Thread Eric W. Biederman
Miklos Szeredi writes: > On Fri, Mar 2, 2018 at 10:59 PM, Eric W. Biederman > wrote: >> The code has been missing a way for a ->get_acl method to not cache >> a return value without risking invalidating a cached value >> that was set while get_acl()

Re: [PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-05 Thread Eric W. Biederman
Miklos Szeredi writes: > On Fri, Mar 2, 2018 at 10:59 PM, Eric W. Biederman > wrote: >> The code has been missing a way for a ->get_acl method to not cache >> a return value without risking invalidating a cached value >> that was set while get_acl() was returning. >> >> Add that support by

Re: [PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-05 Thread Miklos Szeredi
On Fri, Mar 2, 2018 at 10:59 PM, Eric W. Biederman wrote: > The code has been missing a way for a ->get_acl method to not cache > a return value without risking invalidating a cached value > that was set while get_acl() was returning. > > Add that support by implementing

Re: [PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-05 Thread Miklos Szeredi
On Fri, Mar 2, 2018 at 10:59 PM, Eric W. Biederman wrote: > The code has been missing a way for a ->get_acl method to not cache > a return value without risking invalidating a cached value > that was set while get_acl() was returning. > > Add that support by implementing to_uncachable_acl,

[PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-02 Thread Eric W. Biederman
The code has been missing a way for a ->get_acl method to not cache a return value without risking invalidating a cached value that was set while get_acl() was returning. Add that support by implementing to_uncachable_acl, to_cachable_acl, is_uncacheable_acl, and dealing with uncachable acls in

[PATCH v8 1/6] fs/posix_acl: Update the comments and support lightweight cache skipping

2018-03-02 Thread Eric W. Biederman
The code has been missing a way for a ->get_acl method to not cache a return value without risking invalidating a cached value that was set while get_acl() was returning. Add that support by implementing to_uncachable_acl, to_cachable_acl, is_uncacheable_acl, and dealing with uncachable acls in