Skip to content

tests/bcachefs: scrub_rewrite_under_read: a rewrite under a scrub's read is not damage (tools#1114) - #140

Closed
aderk wants to merge 1 commit into
koverstreet:masterfrom
aderk:scrub-benign-race
Closed

aderk wants to merge 1 commit into
koverstreet:masterfrom
aderk:scrub-benign-race

Conversation

@aderk

@aderk aderk commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Reproducer for koverstreet/bcachefs-tools#1114. Expected to fail until fixed.

…ead is not damage

dm-delay holds a scrub's reads while the file is rewritten underneath
them. Every held read then completes against a bumped bucket gen
(data_read_ptr_stale_race). The scrub must exit 0 and damage ls must
stay empty; data_read_reuse_race says the race fired.
@koverstreet

Copy link
Copy Markdown
Owner

Applied to master as d397a3a. Thanks!

@koverstreet koverstreet closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants