mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
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>
This commit is contained in:
parent
968fe25243
commit
52fcac988a
1 changed files with 1 additions and 0 deletions
|
@ -613,6 +613,7 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
|
||||||
pd.pgbase = 0;
|
pd.pgbase = 0;
|
||||||
pd.pglen = PAGE_SIZE;
|
pd.pglen = PAGE_SIZE;
|
||||||
pd.mincount = 0;
|
pd.mincount = 0;
|
||||||
|
pd.maxcount = PAGE_SIZE;
|
||||||
|
|
||||||
err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd,
|
err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd,
|
||||||
pnfslay->plh_lc_cred);
|
pnfslay->plh_lc_cred);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue