On 26/06/2025 12:59, Ojaswin Mujoo wrote:
This test is intended to ensure that multi blocks atomic writes
maintain atomic guarantees across sudden FS shutdowns.
The way we work is that we lay out a file with random mix of written,
unwritten and hole extents. Then we start performing atomic writes
sequentially on the file while we parallely shutdown the FS. Then we
note the last offset where the atomic write happened just before shut
down and then make sure blocks around it either have completely old
data or completely new data, ie the write was not torn during shutdown.
We repeat the same with completely written, completely unwritten and completely
empty file to ensure these cases are not torn either. Finally, we have a
similar test for append atomic writes
Suggested-by: Ritesh Harjani (IBM)<ritesh.list@xxxxxxxxx>
Signed-off-by: Ojaswin Mujoo<ojaswin@xxxxxxxxxxxxx>
this seems to work ok for xfs, as I get data verify errors when I remove
the -A arg to xfs_io when doing the atomic writes.
But I see this (always):
@@ -1,2 +1,83 @@
QA output created by 1230
+/home/opc/xfstests-dev/tests/generic/1230: line 13:
_require_scratch_write_atomic_multi_fsblock: command not found
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (535173) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (535256) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (535339) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (535419) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (560146) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (560229) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (560312) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (560392) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (585304) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (585387) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (585470) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (585550) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (610300) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (610384) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (610468) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (610548) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (635276) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (635359) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (635442) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (635523) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (660400) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (660483) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (660566) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (660646) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (685377) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (685460) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (685543) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (685624) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (710361) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (710444) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (710527) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (710607) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (735333) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (735417) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (735500) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (735580) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (760306) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (760390) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (760473) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (760553) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (785276) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (785359) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (785442) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (785522) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (810249) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (810332) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (810415) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (810495) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (835221) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (835304) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (835388) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (835469) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (860199) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (860282) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (860365) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (860445) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (885169) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (885253) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (885336) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (885416) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (910140) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (910223) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (910307) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (910387) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (935110) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (935193) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (935276) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (935356) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (960079) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (960162) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (960245) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (960326) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (985052) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (985135) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (985218) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (985299) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (1010026) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (1010109) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 149: kill: (1010192) -
No such process
+/home/opc/xfstests-dev/tests/generic/1230: line 247: kill: (1010272) -
No such process
Silence is golden
[root@jgarry-ol9new xfstests-dev]#
any idea (apart from _require_scratch_write_atomic_multi_fsblock)?