| commit | 882a0633c4f63800d8dfb74397397b2c9f31cfdc | [log] [tgz] |
|---|---|---|
| author | David Howells <dhowells@redhat.com> | Thu Jun 20 17:04:29 2019 +0100 |
| committer | David Howells <dhowells@redhat.com> | Thu Jun 20 18:13:52 2019 +0100 |
| tree | 9b0562627f382e8b1cd82439ab05230cf02dab55 | |
| parent | f49249244bb74ba6d77759c9f48fe59a5438c38e [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>