From: Trond Myklebust Date: Mon, 31 Aug 2015 08:19:22 +0000 (-0700) Subject: NFSv4.1/pnfs: Handle LAYOUTGET return values correctly X-Git-Tag: omap-for-v4.3/fixes-rc1~78^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21b874c873b5019db8bb4b4f6aa929c4bac0a398;p=pandora-kernel.git NFSv4.1/pnfs: Handle LAYOUTGET return values correctly According to RFC5661 section 18.43.3, if the server cannot satisfy the loga_minlength argument to LAYOUTGET, there are 2 cases: 1) If loga_minlength == 0, it returns NFS4ERR_LAYOUTTRYLATER 2) If loga_minlength != 0, it returns NFS4ERR_BADLAYOUT Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed