diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-11-30 21:30:47 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-12-06 18:30:58 +0100 |
commit | a60214c2465493aac0b014d87ee19327b6204c42 (patch) | |
tree | 3661954081379e584ac7fc2e10bb928a3443f286 /fs/overlayfs | |
parent | NFSv4.2: Fix up READ_PLUS alignment (diff) | |
download | linux-a60214c2465493aac0b014d87ee19327b6204c42.tar.xz linux-a60214c2465493aac0b014d87ee19327b6204c42.zip |
NFS: Allow very small rsize & wsize again
940261a19508 introduced nfs_io_size() to clamp the iosize to a multiple
of PAGE_SIZE. This had the unintended side effect of no longer allowing
iosizes less than a page, which could be useful in some situations.
UDP already has an exception that causes it to fall back on the
power-of-two style sizes instead. This patch adds an additional
exception for very small iosizes.
Reported-by: Jeff Layton <jlayton@kernel.org>
Fixes: 940261a19508 ("NFS: Allow setting rsize / wsize to a multiple of PAGE_SIZE")
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions