commit | 9c47b18cf722184f32148784189fca945a7d0561 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Fri Sep 20 07:23:40 2019 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Sep 20 15:17:42 2019 -0400 |
tree | e0b3219199c04c391f3eec57ff2ef545916d1618 | |
parent | 581057c8346b9da51f1115768fd4189ed5eab19b [diff] |
pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors IF the server rejected our layout return with a state error such as NFS4ERR_BAD_STATEID, or even a stale inode error, then we do want to clear out all the remaining layout segments and mark that stateid as invalid. Fixes: 1c5bd76d17cca ("pNFS: Enable layoutreturn operation for...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>