]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Be more aggressive in retiring cached vnodes
authorDavid Howells <dhowells@redhat.com>
Wed, 4 Apr 2018 12:41:26 +0000 (13:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 4 Apr 2018 12:41:26 +0000 (13:41 +0100)
commit5516c13b2267ff4a1e361d152dab6512d48af9d2
treefeb8f61451469fe176cf6bb1f1694e22f1faef1e
parent5980edd1a2cfd13cc92530dfc64ce37ee0022349
afs: Be more aggressive in retiring cached vnodes

When relinquishing cookies, either due to iget failure or to inode
eviction, retire a cookie if we think the corresponding vnode got deleted
on the server rather than just letting it lie in the cache.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/inode.c