commit | 500d701f336b2771d34e46da7875a4782515a652 | [log] [tgz] |
---|---|---|
author | Peng Tao <tao.peng@primarydata.com> | Tue Sep 22 11:35:22 2015 +0800 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Sep 23 08:55:32 2015 -0400 |
tree | 217881fc9e1b5cc45f1f2b4042c6a161f84aebd0 | |
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>