Commit 83b3d959 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix 'journal not marked as containing replicas'



This fixes the replicas_write_errors test: the patch
  bcachefs: mark journal replicas before journal write submission

partially fixed replicas marking for the journal, but it broke the case
where one replica failed - this patch re-adds marking after the journal
write completes, when we know how many replicas succeeded.

Additionally, we do not consider it a fsck error when the very last
journal entry is not correctly marked, since there is an inherent race
there.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 401585fe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment