Commit 7aa915d5 authored by Olga Kornievskaia's avatar Olga Kornievskaia Committed by sanglipeng
Browse files

pNFS/filelayout: Fix coalescing test for single DS

stable inclusion
from stable-v5.10.165
commit c7c36bb6eafd3f349d2371a1c6f2a3a72400acbc
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7T7G4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c7c36bb6eafd3f349d2371a1c6f2a3a72400acbc



--------------------------------

[ Upstream commit a6b9d2fa ]

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: default avatarOlga Kornievskaia <kolga@netapp.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent d96a1c91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment