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)
commit940261a195080cf1cdcd56948d363fe363b69da1
tree4708d6c668cefb7859f4215338b9ae5edc04cbef
parentf1bafa7375c01ff71fb7cb97c06caadfcfe815f3
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