forget_all_cached_acls()
Joel Becker
maintainerHey everyone,
I just found out from Steven over in GFS2 that there is a kernel
call forget_all_cached_acls(). If a cluster filesystem is using ACL caching (added by Viro a little while back), they use forget_all_cached_acls() at lock drop time to make sure they don't have stale ACL info.
We're not using cached_acls yet, but if someone adds it, please
remember this call ;-)
Joel
Signature · 6 lines
Life's Little Instruction Book #444 "Never underestimate the power of a kind word or deed." http://www.jlbec.org/ jlbec at evilplan.org
Hi Joel,
Quoted 9 lines · Joel Becker
Hey everyone,
I just found out from Steven over in GFS2 that there is a kernel
callforget_all_cached_acls(). If a cluster filesystem is using ACL caching (added by Viro a little while back), they useforget_all_cached_acls()at lock drop time to make sure they don't have stale ACL info.
We're not usingcached_aclsyet, but if someone adds it, please
remember this call ;-)
I remembered that Jeff did some work on it when I was at Oracle. So Jeff, did you still work on it now?
Regards,
Tao
Hi Tao,
? 2011-2-22???9:21? Tao Ma ???
Quoted 11 lines
Hi Joel,
Quoted 9 lines · Joel Becker
Hey everyone,
I just found out from Steven over in GFS2 that there is a kernel
callforget_all_cached_acls(). If a cluster filesystem is using ACL caching (added by Viro a little while back), they useforget_all_cached_acls()at lock drop time to make sure they don't have stale ACL info.
We're not usingcached_aclsyet, but if someone adds it, please
remember this call ;-)
Quoted 2 lines
I remembered that Jeff did some work on it when I was at Oracle. So Jeff, did you still work on it now?
I have wrote a patch for catched acl about one and half year ago just for fun.
That patch has been tested on OCFS2 single node at that time, I will try it on cluster environment with this call.
Thanks,
-Jeff
Quoted 3 lines
Regards,
Tao