diff mbox series

[v2] fstests: btrfs/226: fill in missing comments changes

Message ID 3d3d2b2c4f1d214749417581f7194fb7bbd0eaef.1740349141.git.anand.jain@oracle.com (mailing list archive)
State New
Headers show
Series [v2] fstests: btrfs/226: fill in missing comments changes | expand

Commit Message

Anand Jain Feb. 23, 2025, 10:30 p.m. UTC
From: Qu Wenruo <wqu@suse.com>

Adds the comments that were previously missed.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
---
v2: fix comments - drop reason for the nodatasum requisite.

 tests/btrfs/226 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/tests/btrfs/226 b/tests/btrfs/226
index 359813c4f394..afab5868b224 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 only works with direct IO, which requires an inode with
+# nodatasum (otherwise it falls back to buffered IO).
 _scratch_mount -o nodatasum
 
 # Test a write against COW file/extent - should fail with -EAGAIN. Disable the