diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-31 01:19:22 -0700 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-31 01:33:12 -0700 |
commit | 21b874c873b5019db8bb4b4f6aa929c4bac0a398 (patch) | |
tree | cd9ee5cd8f0b0edd55abcc9937b853e76cd335b9 /fs/nfs/pnfs.c | |
parent | 4ae93560b11cb2b57ea5732d442458694ab0c168 (diff) |
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 <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions