btrfs: cleanup and small refactors around __btrfs_map_block()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | btrfs: remove map_lookup->stripe_lenfs/ fs/ fs/ +2 more | +64 | 0 replies | |
| 2/6 | btrfs: reduce div64 calls by limiting the number of stripes of a chunk to u32fs/ fs/ fs/ +1 more | +63 | 1 reply | |
| 3/6 | btrfs: simplify the bioc argument for handle_ops_on_dev_replace()fs/ | +2 | 0 replies | |
| 4/6 | btrfs: reduce type width of btrfs_io_contextsfs/ fs/ | +58 | 0 replies | |
| 5/6 | btrfs: use a more space efficient way to represent the source of duplicated stripesfs/ fs/ fs/ +1 more | +119 | 0 replies | |
| 6/6 | btrfs: replace btrfs_io_context::raid_map with a fixed u64 valuefs/ fs/ fs/ +2 more | +78 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Christoph Hellwig | Anand Jain | David Sterba |
|---|---|---|---|---|
| 1/6 | R-b | R-b | ||
| 2/6 | ||||
| 3/6 | R-b | R-b | R-b | |
| 4/6 | ||||
| 5/6 | ||||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/6] btrfs: cleanup and small refactors around __btrfs_map_block()
This series is based on the current misc-next branch, and can be fetched from github:
https://github.com/adam900710/linux/tree/map_block_refactor
This is the rebased and merged version of two patchset:
btrfs: reduce div64 calls for __btrfs_map_block() and its variants
btrfs: reduce the memory usage for btrfs_io_context, and reduce its variable sized members
Originally the 2nd patchset has some dependency on the first one, but the first one is causing some conflicts with newer cleanups, thus only the 2nd patchset get merged into for-next.
This updated version would resolve the conflicts, and use the modified version from for-next.
Qu Wenruo (6):
btrfs: remove map_lookup->stripe_len
btrfs: reduce div64 calls by limiting the number of stripes of a chunk
to u32
btrfs: simplify the bioc argument for handle_ops_on_dev_replace()
btrfs: reduce type width of btrfs_io_contexts
btrfs: use a more space efficient way to represent the source of
duplicated stripes
btrfs: replace btrfs_io_context::raid_map with a fixed u64 value
fs/btrfs/block-group.c | 22 +- fs/btrfs/raid56.c | 68 ++++-- fs/btrfs/scrub.c | 85 +++---- fs/btrfs/tests/extent-map-tests.c | 1 - fs/btrfs/tree-checker.c | 14 ++ fs/btrfs/volumes.c | 385 ++++++++++++++---------------- fs/btrfs/volumes.h | 79 +++++- include/trace/events/btrfs.h | 2 +- 8 files changed, 362 insertions(+), 294 deletions(-)
Signature · 1 line
2.39.1