diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-09-22 11:35:22 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-23 08:55:32 -0400 |
commit | 500d701f336b2771d34e46da7875a4782515a652 (patch) | |
tree | 217881fc9e1b5cc45f1f2b4042c6a161f84aebd0 /fs/notify | |
parent | 834e465bba38f2768747bccb5f00e951e72d2bf5 (diff) |
NFS41: make close wait for layoutreturn
If we send a layoutreturn asynchronously before close, the close
might reach server first and layoutreturn would fail with BADSTATEID
because there is nothing keeping the layout stateid alive.
Also do not pretend sending layoutreturn if we are not.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions