Skip to content
Commit d29b468d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

pNFS/NFSv4: Improve rejection of out-of-order layouts



If a layoutget ends up being reordered w.r.t. a layoutreturn, e.g. due
to a layoutget-on-open not knowing a priori which file to lock, then we
must assume the layout is no longer being considered valid state by the
server.
Incrementally improve our ability to reject such states by using the
cached old stateid in conjunction with the plh_barrier to try to
identify them.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 1bcf34fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment