diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-09-26 15:25:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:32:38 -0700 |
commit | 9fa2b82e5592a7aa7a63b7f6a32c5aa9e580643a (patch) | |
tree | 4e376a5196ee041ff9cba220f722dd7df0a3759b /fs/eventpoll.c | |
parent | 15adf810741b2e7c300932083d43b74188a05548 (diff) |
NFS: Remove bad delegations during open recovery
commit 6938867edba929a65a167a97581231e76aeb10b4 upstream.
I put the client into an open recovery loop by:
Client: Open file
read half
Server: Expire client (echo 0 > /sys/kernel/debug/nfsd/forget_clients)
Client: Drop vm cache (echo 3 > /proc/sys/vm/drop_caches)
finish reading file
This causes a loop because the client never updates the nfs4_state after
discovering that the delegation is invalid. This means it will keep
trying to read using the bad delegation rather than attempting to re-open
the file.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions