https://github.com/torvalds/linux
Revision 39db9815da489b47b50b8e6e4fc7566a77bd18bf authored by David Howells on 14 May 2019, 11:33:10 UTC, committed by David Howells on 16 May 2019, 21:23:21 UTC
Fix afs_do_lookup() such that when it does an inline bulk status fetch op,
it will update inodes that are already extant (something that afs_iget()
doesn't do) and to cache permits for each inode created (thereby avoiding a
follow up FS.FetchStatus call to determine this).

Extant inodes need looking up in advance so that their cb_break counters
before and after the operation can be compared.  To this end, the inode
pointers are cached so that they don't need looking up again after the op.

Fixes: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup")
Signed-off-by: David Howells <dhowells@redhat.com>
1 parent b835915
History
Tip revision: 39db9815da489b47b50b8e6e4fc7566a77bd18bf authored by David Howells on 14 May 2019, 11:33:10 UTC
afs: Fix application of the results of a inline bulk status fetch
Tip revision: 39db981
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 14.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 11.6 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.9 KB
Kbuild -rw-r--r-- 1.5 KB
Kconfig -rw-r--r-- 563 bytes
MAINTAINERS -rw-r--r-- 493.7 KB
Makefile -rw-r--r-- 58.6 KB
README -rw-r--r-- 727 bytes

README

back to top