Commit 24964e1c authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: BCH_SB_VERSION_UPGRADE_COMPLETE()



Version upgrades are not atomic operations: when we do a version upgrade
we need to update the superblock before we start using new features, and
then when the upgrade completes we need to update the superblock again.
This adds a new superblock field so we can detect and handle incomplete
version upgrades.

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