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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 20 Dec 2022 17:52:39 +0000 (12:52 -0500)
commita6b9d2fa0024e7e399c26facd0fb466b7396e2b9
tree095f5ac75fd942d0410be9f583bed23a5f8415af
parentb18cba09e374637a0a3759d856a6bca94c133952
pNFS/filelayout: Fix coalescing test for single DS

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>
fs/nfs/filelayout/filelayout.c