FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] fstests: btrfs/226: fill in missing comments changes
@ 2025-02-18 22:35 Anand Jain
  2025-02-19  5:58 ` Zorro Lang
  2025-02-21 12:04 ` Filipe Manana
  0 siblings, 2 replies; 9+ messages in thread
From: Anand Jain @ 2025-02-18 22:35 UTC (permalink / raw)
  To: zlang, fstests; +Cc: linux-btrfs

From: Qu Wenruo <wqu@suse.com>

Update comments that were previously missed.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/btrfs/226 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/btrfs/226 b/tests/btrfs/226
index 359813c4f394..ce53b7d48c49 100755
--- a/tests/btrfs/226
+++ b/tests/btrfs/226
@@ -22,10 +22,8 @@ _require_xfs_io_command fpunch
 
 _scratch_mkfs >>$seqres.full 2>&1
 
-# This test involves RWF_NOWAIT direct IOs, but for inodes with data checksum,
-# btrfs will fall back to buffered IO unconditionally to prevent data checksum
-# mimsatch, and that will break RWF_NOWAIT with -EAGAIN.
-# So here we have to go with nodatasum mount option.
+# RWF_NOWAIT works only with direct I/O and requires an inode with nodatasum
+# to avoid checksum mismatches. Otherwise, it falls back to buffered I/O.
 _scratch_mount -o nodatasum
 
 # Test a write against COW file/extent - should fail with -EAGAIN. Disable the
-- 
2.47.0


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

end of thread, other threads:[~2025-02-23 22:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 22:35 [PATCH] fstests: btrfs/226: fill in missing comments changes Anand Jain
2025-02-19  5:58 ` Zorro Lang
2025-02-21 12:04 ` Filipe Manana
2025-02-21 15:03   ` Zorro Lang
2025-02-22 11:16     ` Anand Jain
2025-02-22 11:29       ` Filipe Manana
2025-02-23 22:30         ` Anand Jain
2025-02-23 22:31     ` Anand Jain
2025-02-23 22:30   ` [PATCH v2] " Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox