projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968fe25
)
NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount
author
Andy Adamson
<andros@netapp.com>
Tue, 25 Jun 2013 23:02:55 +0000
(19:02 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 28 Jun 2013 19:34:45 +0000
(15:34 -0400)
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/objlayout/objlayout.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/objlayout/objlayout.c
b/fs/nfs/objlayout/objlayout.c
index 198990852d509689e1fe3052b5b4816eb171d678..e4f9cbfec67bfb2d497099a4221067de6939fe61 100644
(file)
--- 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);