aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugging/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorSergey Bashirov <sergeybashirov@gmail.com>2025-10-20 08:52:24 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:39 +0200
commit58e4050d6b814043cfd6bbb12180147cab4598ca (patch)
treefea13072087741f76ff9e66f66f84d0af7ab0dd0 /tools/debugging/git:/ssh:/git@git.zx2c4.com
parentNFSD: Minor cleanup in layoutcommit processing (diff)
downloadlaptop-kernel-58e4050d6b814043cfd6bbb12180147cab4598ca.tar.xz
laptop-kernel-58e4050d6b814043cfd6bbb12180147cab4598ca.zip
NFSD: Implement large extent array support in pNFS
[ Upstream commit f963cf2b91a30b5614c514f3ad53ca124cb65280 ] When pNFS client in the block or scsi layout mode sends layoutcommit to MDS, a variable length array of modified extents is supplied within the request. This patch allows the server to accept such extent arrays if they do not fit within single memory page. The issue can be reproduced when writing to a 1GB file using FIO with O_DIRECT, 4K block and large I/O depth without preallocation of the file. In this case, the server returns NFSERR_BADXDR to the client. Co-developed-by: Konstantin Evtushenko <koevtushenko@yandex.com> Signed-off-by: Konstantin Evtushenko <koevtushenko@yandex.com> Signed-off-by: Sergey Bashirov <sergeybashirov@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Stable-dep-of: d68886bae76a ("NFSD: Fix last write offset handling in layoutcommit") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/debugging/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions