Commit 62719cf3 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix nochanges/read_only interaction



nochanges means "we cannot issue writes at all"; it's possible to go
into a pseudo read-write mode where we pin dirty metadata in memory,
which is used for fsck in dry run mode and doing journal replay on a
read only mount, but we do not want to allow an actual read-write mount
in nochanges mode.

But we do always want to allow early read-write, during recovery - this
patch clarifies that.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 5e329145
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