diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-29 02:59:56 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:06 +0300 |
commit | 24964e1c5c89e00ca55909ab24ce8d28e2b46406 (patch) | |
tree | 6ca19695501bb5947532e799c319c570e653f16e /fs/bcachefs/opts.h | |
parent | 7c50140fce00120b1dcf674759393267689ca2d8 (diff) | |
download | linux-24964e1c5c89e00ca55909ab24ce8d28e2b46406.tar.xz |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.h')
0 files changed, 0 insertions, 0 deletions