]> 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:24:30 +0000 (07:24 +0100)
commitcf4450d93752617ba4b8f9b5ed3b1e39d6828d5c
treee8f48dd7e3cc404e67d32e0c128ff675d97e3931
parentefa18f4c093d4ac1f81d00a1cb9a17b6b118fbe2
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