diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-10-20 14:44:38 +0800 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 11:06:50 -0800 |
commit | 27b6f53987d61822a858b4680c3727bfb19e620a (patch) | |
tree | 78412c8a81e1a51f3fc3ab3b1361ab460f187c9d /fs/nfs/read.c | |
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>
Diffstat (limited to 'fs/nfs/read.c')
0 files changed, 0 insertions, 0 deletions