]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit678edd09c24f8a47ed88b3e172e05cc4f611bfcd
treefeb8f61451469fe176cf6bb1f1694e22f1faef1e
parent27a3ee3a0471abaacf0c2ab1397b188c7b693fcd
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