From: Filipe Manana Date: Tue, 2 Sep 2025 14:27:40 +0000 (+0100) Subject: generic/363: mention btrfs kernel fix for block size < page size scenario X-Git-Tag: v2025.09.07~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6dca84887d877bdb2c8e726afbcab39ffb3c6d67;p=xfstests-dev.git generic/363: mention btrfs kernel fix for block size < page size scenario 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 Reviewed-by: Qu Wenruo Reviewed-by: David Sterba Signed-off-by: Zorro Lang --- diff --git a/tests/generic/363 b/tests/generic/363 index 79b1ff89..f361878a 100755 --- a/tests/generic/363 +++ b/tests/generic/363 @@ -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"