]> git.baikalelectronics.ru Git - kernel.git/commit
nfs41: send layoutreturn in last put_lseg
authorPeng Tao <tao.peng@primarydata.com>
Fri, 5 Sep 2014 16:53:25 +0000 (00:53 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:42 +0000 (11:06 -0800)
commit98a169e613405e22e6ef8ead099ea1163c11e228
treec72526b4d63a188484fbe9b371cc5c356641f4d1
parent6881708185d3483bd4b6870973759fd4dba427bf
nfs41: send layoutreturn in last put_lseg

If current lseg is the last lseg marked with NFS_LSEG_LAYOUTRETURN,
send layoutreturn.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
fs/nfs/pnfs.c