diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-09-25 20:24:37 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-10-15 22:08:18 +0200 |
commit | 2a92ee92d4545448066fb664674c0ae5a9d5ea99 (patch) | |
tree | e24c885891708e270231568400d1edd3041cabc1 /fs/nfs/client.c | |
parent | nfs42: add NFS_IOC_CLONE ioctl (diff) | |
download | linux-2a92ee92d4545448066fb664674c0ae5a9d5ea99.tar.xz linux-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 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 57c5a02f6213..d6d5d2a48e83 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -764,6 +764,7 @@ static void nfs_server_set_fsinfo(struct nfs_server *server, server->time_delta = fsinfo->time_delta; + server->clone_blksize = fsinfo->clone_blksize; /* We're airborne Set socket buffersize */ rpc_setbufsize(server->client, server->wsize + 100, server->rsize + 100); } |