commit | 9fff59ed4c4d239125f8529a9971c46defd2e2b0 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Nov 02 20:11:32 2020 -0500 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Dec 02 14:05:52 2020 -0500 |
tree | 92590d39069dcfba43b98bfdba764f244d309e22 | |
parent | 82e22a5e6245873779db1607d3b0fec6f9ca07d0 [diff] |
NFS: Handle NFS4ERR_NOT_SAME and NFSERR_BADCOOKIE from readdir calls If the server returns NFS4ERR_NOT_SAME or tells us that the cookie is bad in response to a READDIR call, then we should empty the page cache so that we can fill it from scratch again. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Dave Wysochanski <dwysocha@redhat.com>