Fast device removal
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bcachefs: BCH_SB_MEMBER_DELETED_UUIDfs/ fs/ fs/ +1 more | +39 | 0 replies | |
| 2/3 | bcachefs: bch2_dev_data_drop_by_backpointers()fs/ fs/ | +95 | 0 replies | |
| 3/3 | bcachefs: bcachefs_metadata_version_fast_device_removalfs/ fs/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fast device removal
Previously, device removal had to do a full metadata scan to check for pointers to the device being removed.
Instead, we can now walk backpointers - drastically faster on large filesystems, particularly after we've already done an evacuate.
Since we don't fully trust backpointers this requires an incompatible upgrade - we need a sentinal value on member devices so that device indexes aren't reused until after a fsck.
Kent Overstreet (3):
bcachefs: BCH_SB_MEMBER_DELETED_UUID
bcachefs: bch2_dev_data_drop_by_backpointers()
bcachefs: bcachefs_metadata_version_fast_device_removal
fs/bcachefs/bcachefs_format.h | 3 +- fs/bcachefs/btree_gc.c | 4 ++ fs/bcachefs/migrate.c | 107 +++++++++++++++++++++++++++----- fs/bcachefs/migrate.h | 3 +- fs/bcachefs/sb-members.c | 29 ++++++++- fs/bcachefs/sb-members.h | 4 +- fs/bcachefs/sb-members_format.h | 4 ++ fs/bcachefs/super.c | 25 +++++++- 8 files changed, 158 insertions(+), 21 deletions(-)
Signature · 1 line
2.49.0