]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/filelayout: Fix coalescing test for single DS
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>
Tue, 20 Dec 2022 17:31:29 +0000 (12:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:17:58 +0000 (07:17 +0100)
commit7cb1c8e1675d1fc722654cbd9c8cc5974c812dfc
treee7f5d8e231eafc0810498cd226ff64c51b30b705
parent0ba0cc7b43095bd1e91da132206e21374a7f23e0
pNFS/filelayout: Fix coalescing test for single DS

[ Upstream commit 341b68ca763ff7b08a04b6e9d0039d0eda8f171f ]

When there is a single DS no striping constraints need to be placed on
the IO. When such constraint is applied then buffered reads don't
coalesce to the DS's rsize.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/filelayout/filelayout.c