btrfs: add a btrfs_chunk_map structure and preparatory cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: fix off-by-one when checking chunk map includes logical addressfs/ | +1 | 0 replies | |
| 2/8 | btrfs: make error messages more clear when getting a chunk mapfs/ | +4 | 0 replies | |
| 3/8 | btrfs: mark sanity checks when getting chunk map as unlikelyfs/ | +2 | 0 replies | |
| 4/8 | btrfs: split assert into two different asserts when removing block groupfs/ | +2 | 0 replies | |
| 5/8 | btrfs: unexport extent_map_block_end()fs/ fs/ | +7 | 0 replies | |
| 6/8 | btrfs: use btrfs_next_item() at scrub.c:find_first_extent_item()fs/ | +5 | 0 replies | |
| 7/8 | btrfs: use a dedicated data structure for chunk mapsfs/ fs/ fs/ +14 more | +501 | 6 replies | |
| 8/8 | btrfs: remove stripe size local variable from insert_dev_extents()fs/ | +1 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josef Bacik |
|---|---|
| Series | R-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] btrfs: add a btrfs_chunk_map structure and preparatory cleanups
From: Filipe Manana <[email protected]>
The following are some cleanups and introducing a dedicated data structure for representing chunk maps, in order to make code simpler and use less memory - this is achieved in patch 7/8. This patchset is also preparatory work for some upcoming changes to extent maps.
Filipe Manana (8):
btrfs: fix off-by-one when checking chunk map includes logical address
btrfs: make error messages more clear when getting a chunk map
btrfs: mark sanity checks when getting chunk map as unlikely
btrfs: split assert into two different asserts when removing block group
btrfs: unexport extent_map_block_end()
btrfs: use btrfs_next_item() at scrub.c:find_first_extent_item()
btrfs: use a dedicated data structure for chunk maps
btrfs: remove stripe size local variable from insert_dev_extents()
fs/btrfs/block-group.c | 167 ++++----- fs/btrfs/block-group.h | 6 +- fs/btrfs/dev-replace.c | 28 +- fs/btrfs/disk-io.c | 7 +- fs/btrfs/extent_map.c | 53 +-- fs/btrfs/extent_map.h | 11 - fs/btrfs/fs.h | 3 +- fs/btrfs/inode.c | 25 +- fs/btrfs/raid56.h | 2 +- fs/btrfs/scrub.c | 52 ++- fs/btrfs/tests/btrfs-tests.c | 3 +- fs/btrfs/tests/btrfs-tests.h | 1 + fs/btrfs/tests/extent-map-tests.c | 40 +-- fs/btrfs/volumes.c | 545 ++++++++++++++++++------------ fs/btrfs/volumes.h | 45 ++- fs/btrfs/zoned.c | 24 +- include/trace/events/btrfs.h | 11 +- 17 files changed, 516 insertions(+), 507 deletions(-)
Signature · 1 line
2.40.1