[PATCH Version 2 0/3] NFSv4.1 Fix gdia_maxcount calculation to fit in ca_maxresponsesize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andy Adamson <andros@xxxxxxxxxx>

>From Trond:
> The problem is that pdev->pglen is used both as the total buffer length,
> as a function argument and as the reply message length (through the call
> to xdr_init_decode_pages). We really should split out those 3 different
> roles...

AFAICS there are two roles: the reply or total message length used for
xdr_init_decode_pages (where it is also a function argument) and the 
gdia_maxcount. 

Put the block and object layout change in separate patches for ease of
backporting.

-->Andy

Andy Adamson (3):
  NFSv4.1 Fix gdia_maxcount calculation to fit in ca_maxresponsesize
  NFSv4.1 use pnfs_device maxcount for the blocklayout gdia_maxcount
  NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount

 fs/nfs/blocklayout/blocklayout.c | 1 +
 fs/nfs/internal.h                | 1 +
 fs/nfs/nfs4filelayoutdev.c       | 1 +
 fs/nfs/nfs4xdr.c                 | 8 +++++++-
 fs/nfs/objlayout/objlayout.c     | 1 +
 fs/nfs/pnfs.h                    | 3 ++-
 6 files changed, 13 insertions(+), 2 deletions(-)

-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux