Commit 065bd335 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Version table now lists required recovery passes



Now that we've got forward compatibility sorted out, we should be doing
more frequent version upgrades in the future.

To avoid having to run a full fsck for every version upgrade, this
improves the BCH_METADATA_VERSIONS() table to explicitly specify a
bitmask of recovery passes to run when upgrading to or past a given
version.

This means we can also delete PASS_UPGRADE().

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