NFSv4.1: file layout must consider pg_bsize for coalescing
authorBenny Halevy <benny@tonian.com>
Sun, 19 Jun 2011 22:33:46 +0000 (18:33 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Jun 2011 20:12:26 +0000 (16:12 -0400)
commit19345cb299e8234006c5125151ab723e851a1d24
tree43bde1db751eb50afbdabfbd26814431c8be573c
parentdf18d127f4fed7a0284bcfa8d2843800cdb63b72
NFSv4.1: file layout must consider pg_bsize for coalescing

Otherwise we end up overflowing the rpc buffer size on the receive end.

Signed-off-by: Benny Halevy <benny@tonian.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/pagelist.c
include/linux/nfs_page.h