]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/363: mention btrfs kernel fix for block size < page size scenario
authorFilipe Manana <fdmanana@suse.com>
Tue, 2 Sep 2025 14:27:40 +0000 (15:27 +0100)
committerZorro Lang <zlang@kernel.org>
Fri, 5 Sep 2025 15:48:33 +0000 (23:48 +0800)
There's another btrfs kernel commit that landed in v6.16-rc1 and fixes
another EOF truncation bug exposed by this test case, so add the commit
in a _fixed_by_kernel_commit call.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/363

index 79b1ff897a9fd8468aa155ca044f75f933505abe..f361878a47e8294bcf814786f9087024e77806b6 100755 (executable)
@@ -13,8 +13,12 @@ _begin_fstest rw auto
 
 _require_test
 
-[ $FSTYP == "btrfs" ] && _fixed_by_kernel_commit da2dccd7451d \
-       "btrfs: fix hole expansion when writing at an offset beyond EOF"
+if [ $FSTYP == "btrfs" ]; then
+       _fixed_by_kernel_commit da2dccd7451d \
+               "btrfs: fix hole expansion when writing at an offset beyond EOF"
+       _fixed_by_kernel_commit 8e4f21f2b13d \
+               "btrfs: handle unaligned EOF truncation correctly for subpage cases"
+fi
 
 # on failure, replace -q with -d to see post-eof writes in the dump output
 run_fsx "-q -S 0 -e 1 -N 100000"