]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fstests: generic/352 should accomodate other pwrite behaviors
authorBill O'Donnell <bodonnel@redhat.com>
Mon, 28 Aug 2023 17:23:07 +0000 (12:23 -0500)
committerZorro Lang <zlang@kernel.org>
Fri, 1 Sep 2023 19:37:15 +0000 (03:37 +0800)
commit0fc226e7eac1fb6b0989c12930afc7e71665ff5d
treefa091da3e23dbdefc2c0b84dce234523182da6b4
parent9445d70f0fd62dbf010df5c2b96810b6ec77c943
fstests: generic/352 should accomodate other pwrite behaviors

xfs_io pwrite issues a series of block size writes, but there is no
guarantee that the resulting extent(s) will be singular or contiguous.
This behavior is acceptable, but the test is flawed in that it expects
a single extent for a pwrite.

Modify test to limit pwrite and reflink to a single block.

Signed-off-by: Bill O'Donnell <bodonnel@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/352
tests/generic/352.out