diff options
author | 2016-07-14 15:14:02 -0400 | |
---|---|---|
committer | 2016-07-19 16:23:23 -0400 | |
commit | f7db0b283868411dc6bc8a223fd032b211d2d91f (patch) | |
tree | cf7a2f7e1aee50843669d5c8548c1879b0725430 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pNFS: Handle NFS4ERR_RECALLCONFLICT correctly in LAYOUTGET (diff) | |
download | linux-dev-f7db0b283868411dc6bc8a223fd032b211d2d91f.tar.xz linux-dev-f7db0b283868411dc6bc8a223fd032b211d2d91f.zip |
pNFS: Fix LAYOUTGET handling of NFS4ERR_BAD_STATEID and NFS4ERR_EXPIRED
We want to recover the open stateid if there is no layout stateid
and/or the stateid argument matches an open stateid.
Otherwise throw out the existing layout and recover from scratch, as
the layout stateid is bad.
Fixes: 183d9e7b112aa ("pnfs: rework LAYOUTGET retry handling")
Cc: stable@vger.kernel.org # 4.7
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions