]> 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)
commit8d6b622700d2fe129925b0987918548f8f3bde14
tree4708d6c668cefb7859f4215338b9ae5edc04cbef
parentce1bb5bebf17905bf1c53185d2a7f9945a162a7f
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