diff options
| author | Trond Myklebust <[email protected]> | 2023-09-11 14:30:27 -0400 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-10-16 12:44:00 -0400 |
| commit | d59b3515ab021e010fdc58a8f445ea62dd2f7f4c (patch) | |
| tree | f25cda24d7e23f943242739eb26efb75b5f2e54d /tools/perf/scripts/python | |
| parent | 5896a8705461052bfc2dcd7cf5909eaf3cecaa92 (diff) | |
nfsd: Handle EOPENSTALE correctly in the filecache
The nfsd_open code handles EOPENSTALE correctly, by retrying the call to
fh_verify() and __nfsd_open(). However the filecache just drops the
error on the floor, and immediately returns nfserr_stale to the caller.
This patch ensures that we propagate the EOPENSTALE code back to
nfsd_file_do_acquire, and that we handle it correctly.
Fixes: 65294c1f2c5e ("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: Trond Myklebust <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions