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

afs: Prospectively look up extra files when doing a single lookup



When afs_lookup() is called, prospectively look up the next 50 uncached
fids also from that same directory and cache the results, rather than just
looking up the one file requested.

This allows us to use the FS.InlineBulkStatus RPC op to increase efficiency
by fetching up to 50 file statuses at a time.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 17814aef
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