Files
scoutfs/tests/golden
Chris Kirby ef0f6f8ac2 Fix race in inode-deletion test
Due to an iput race, the "unlink wait for open on other mount"
subtest can fail. If the unlink happens inline, then the test
passes. But if the orphan scanner has to complete the unlink
work, it's possible that there won't be enough log merge work
for the scanner to do the cleanup before we look at the seq index.

Add SCOUTFS_TRIGGER_LOG_MERGE_FORCE_FINALIZE_OURS, to allow
forcing a log merge. Add new counters, log_merges_start and
log_merge_complete, so that tests can see that a merge has happened.

Then we have to wait for the orphan scanner to do its work.
Add a new counter, orphan_scan_empty, that increments each time
the scanner walks the entire inode space without finding any
orphans. Once the test sees that counter increment, it should be
safe to check the seq index and see that the unlinked inode is gone.

Signed-off-by: Chris Kirby <ckirby@versity.com>
2026-01-07 08:29:38 -06:00
..
2022-02-21 10:44:38 -08:00
2022-12-06 10:31:31 -08:00
2024-07-22 14:08:32 -07:00
2021-07-07 14:13:14 -07:00
2022-02-17 11:20:08 -08:00
2021-05-26 14:18:28 -07:00
2026-01-07 08:29:38 -06:00
2019-08-02 16:51:34 -07:00
2021-04-27 12:01:43 -07:00
2025-01-23 14:28:40 -05:00
2021-01-14 13:42:22 -08:00
2023-01-09 14:49:23 -08:00
2024-06-28 15:09:05 -07:00
2024-07-22 14:08:32 -07:00
2024-06-28 15:09:05 -07:00
2025-01-27 14:49:04 -05:00
2020-12-15 15:13:42 -08:00
2021-09-13 14:41:07 -07:00
2025-11-13 12:43:31 -08:00