Skip to content

Commit

Permalink
NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Adamson <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
androsadamson authored and Trond Myklebust committed Jun 28, 2013
1 parent 968fe25 commit 52fcac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfs/objlayout/objlayout.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 52fcac9

Please sign in to comment.