diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-27 11:45:46 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-27 11:48:58 -0400 |
commit | 6c5a0d891543873aefc3aaf846c1e7afe0982ff9 (patch) | |
tree | 67c0fa7f5c11a4288041a60280171f9c53d1f2ea /include/linux/nfs_fs_sb.h | |
parent | da2e8127510525eb4bce0fe34aff06192e042c8f (diff) | |
download | lwn-6c5a0d891543873aefc3aaf846c1e7afe0982ff9.tar.gz lwn-6c5a0d891543873aefc3aaf846c1e7afe0982ff9.zip |
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>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 5e1273d4de14..a2ea1491d3df 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -237,5 +237,6 @@ struct nfs_server { #define NFS_CAP_SEEK (1U << 19) #define NFS_CAP_ALLOCATE (1U << 20) #define NFS_CAP_DEALLOCATE (1U << 21) +#define NFS_CAP_LAYOUTSTATS (1U << 22) #endif |