Skip to content

tests/bcachefs: ec_reconstruct_race: a stale stripe retries the read (tools#1090) - #133

Open
aderk wants to merge 1 commit into
koverstreet:masterfrom
aderk:ec-reconstruct-stale-retry
Open

aderk wants to merge 1 commit into
koverstreet:masterfrom
aderk:ec-reconstruct-stale-retry

Conversation

@aderk

@aderk aderk commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

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

…(tools#1090)

Member 0 offline, the others with a 300 ms read delay, and eight O_DIRECT
readers racing a writer that rewrites the file for 150 s: a reconstruct
whose stripe is deleted under it must retry with the current extent and
succeed. Without the fix about 1% of reads fail (15 of 1379 over five
runs), and a run makes 400-500 reads.
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.

1 participant