Skip to content
Commit a0753c29 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 8b6a666a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment