summaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2013-06-26 01:02:55 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-28 21:34:45 +0200
commit52fcac988ae6d5a902e9c1d79fc11ba5ec9361e7 (patch)
treeca5c99bcab9b8aff38d634e8e2893a46959b5ff9 /fs/nfs/objlayout
parentNFSv4.1 use pnfs_device maxcount for the blocklayout gdia_maxcount (diff)
downloadlinux-52fcac988ae6d5a902e9c1d79fc11ba5ec9361e7.tar.xz
linux-52fcac988ae6d5a902e9c1d79fc11ba5ec9361e7.zip
NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/objlayout')
-rw-r--r--fs/nfs/objlayout/objlayout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/objlayout/objlayout.c b/fs/nfs/objlayout/objlayout.c
index 198990852d50..e4f9cbfec67b 100644
--- a/fs/nfs/objlayout/objlayout.c
+++ b/fs/nfs/objlayout/objlayout.c
@@ -613,6 +613,7 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
pd.pgbase = 0;
pd.pglen = PAGE_SIZE;
pd.mincount = 0;
+ pd.maxcount = PAGE_SIZE;
err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd,
pnfslay->plh_lc_cred);