]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Allow setting rsize / wsize to a multiple of PAGE_SIZE
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Jun 2022 20:23:36 +0000 (16:23 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 14:53:10 +0000 (10:53 -0400)
commit29a480dcd61896fecfc96b0a7f88eb69afb12d8a
tree4708d6c668cefb7859f4215338b9ae5edc04cbef
parentd45302b3d65e4fbba1a00d020cdcce3a8ba137f3
NFS: Allow setting rsize / wsize to a multiple of PAGE_SIZE

Previously, we required this to value to be a power of 2 for UDP related
reasons. This patch keeps the power of 2 rule for UDP but allows more
flexibility for TCP and RDMA.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/flexfilelayout/flexfilelayoutdev.c
fs/nfs/internal.h
fs/nfs/nfs4client.c