• Kent Overstreet's avatar
    bcachefs: Fix nochanges/read_only interaction · 62719cf3
    Kent Overstreet authored
    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>
    62719cf3
fs.c 48.1 KB