commit | a0753c29004f4983e303abce019f29e183b1ee48 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon May 20 08:48:46 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Mon Sep 02 11:43:54 2019 +0100 |
tree | 0227fe9742afaf92caddb7e5f086cf5f474becf0 | |
parent | 8b6a666a97544bf307190a05947742b8357aa962 [diff] |
afs: Support RCU pathwalk Make afs_permission() and afs_d_revalidate() do initial checks in RCU-mode pathwalk to reduce latency in pathwalk elements that get done multiple times. We don't need to query the server unless we've received a notification from it that something has changed or the callback has expired. This requires that we can request a key and check permits under RCU conditions if we need to. Signed-off-by: David Howells <dhowells@redhat.com>