NFSv4.2: LAYOUTSTATS is optional to implement
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 27 Jun 2015 15:45:46 +0000 (11:45 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 27 Jun 2015 15:48:58 +0000 (11:48 -0400)
commit6c5a0d891543873aefc3aaf846c1e7afe0982ff9
tree67c0fa7f5c11a4288041a60280171f9c53d1f2ea
parentda2e8127510525eb4bce0fe34aff06192e042c8f
NFSv4.2: LAYOUTSTATS is optional to implement

Make it so, by checking the return value for NFS4ERR_MOTSUPP and
caching the information as a server capability.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs42proc.c
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
include/linux/nfs_fs_sb.h