diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-09-26 02:24:37 +0800 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-10-15 16:08:18 -0400 |
commit | 2a92ee92d4545448066fb664674c0ae5a9d5ea99 (patch) | |
tree | e24c885891708e270231568400d1edd3041cabc1 /include/linux/nfs_xdr.h | |
parent | bea51b30b281039f0f43fb4f42028ddf33fb601f (diff) | |
download | lwn-2a92ee92d4545448066fb664674c0ae5a9d5ea99.tar.gz lwn-2a92ee92d4545448066fb664674c0ae5a9d5ea99.zip |
nfs: get clone_blksize when probing fsinfo
NFSv42 CLONE operation is supposed to respect it.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index ac678b7a65ed..92ff445e60a0 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -141,6 +141,7 @@ struct nfs_fsinfo { __u32 lease_time; /* in seconds */ __u32 layouttype; /* supported pnfs layout driver */ __u32 blksize; /* preferred pnfs io block size */ + __u32 clone_blksize; /* granularity of a CLONE operation */ }; struct nfs_fsstat { |