Skip to contentSkip to conversation

forget_all_cached_acls()

Ocfs2-devel Joel Becker 3 participants 3 messages Feb 22, 2011 OCFS2

lore
Share & tools
lore

Joel Becker

author maintainer
#0 lore raw

Hey 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
#1 lore raw

Hi Joel,

Quoted 9 lines · Joel Becker

Hey 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 ;-)

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

#2 lore raw

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
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 ;-)

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