commit | 27b6f53987d61822a858b4680c3727bfb19e620a | [log] [tgz] |
---|---|---|
author | Peng Tao <tao.peng@primarydata.com> | Mon Oct 20 14:44:38 2014 +0800 |
committer | Tom Haynes <loghyr@primarydata.com> | Tue Feb 03 11:06:50 2015 -0800 |
tree | 78412c8a81e1a51f3fc3ab3b1361ab460f187c9d | |
parent | 193e3aa2ccfb5a53acf7a690b80a1e415b74dbd7 [diff] |
nfs/flexfiles: send layoutreturn before freeing lseg Otherwise we'll lose error tracking information when encoding layoutreturn. pnfs_put_lseg may be called from rpc callbacks. So we should not call pnfs_send_layoutreturn directly because it can deadlock in the rpc layer. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <loghyr@primarydata.com>