linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] generic/363: mention btrfs kernel fix for block size < page size scenario
@ 2025-09-02 14:27 fdmanana
  2025-09-02 18:49 ` David Sterba
  2025-09-02 21:43 ` Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: fdmanana @ 2025-09-02 14:27 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs, Filipe Manana

From: Filipe Manana <fdmanana@suse.com>

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>
---
 tests/generic/363 | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

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"
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-02 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02 14:27 [PATCH] generic/363: mention btrfs kernel fix for block size < page size scenario fdmanana
2025-09-02 18:49 ` David Sterba
2025-09-02 21:43 ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).