From: Peng Tao Date: Mon, 17 Nov 2014 01:30:41 +0000 (+0800) Subject: nfs41: introduce NFS_LAYOUT_RETURN_BEFORE_CLOSE X-Git-Tag: fixes-v4.0-rc1~136^2~27^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=193e3aa2ccfb5a53acf7a690b80a1e415b74dbd7;p=pandora-kernel.git nfs41: introduce NFS_LAYOUT_RETURN_BEFORE_CLOSE When it is set, generic pnfs would try to send layoutreturn right before last close/delegation_return regard less NFS_LAYOUT_ROC is set or not. LD can then make sure layoutreturn is always sent rather than being omitted. The difference against NFS_LAYOUT_RETURN is that NFS_LAYOUT_RETURN_BEFORE_CLOSE does not block usage of the layout so LD can set it and expect generic layer to try pnfs path at the same time. Signed-off-by: Peng Tao Signed-off-by: Tom Haynes --- Reading git-diff-tree failed