mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08: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
@ -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…
x
Reference in New Issue
Block a user