Minor cleanups in relocation.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: relocation: use more natural types for tree_block bitfieldsfs/ | +4 | 2 replies | |
| 2/8 | btrfs: relocation: use enum for stagesfs/ | +9 | 3 replies | |
| 3/8 | btrfs: relocation: switch bitfields to bool in reloc_controlfs/ | +9 | 2 replies | |
| 4/8 | btrfs: relocation: open code mapping_tree_initfs/ | +2 | 2 replies | |
| 5/8 | btrfs: switch btrfs_backref_cache::is_reloc to boolfs/ fs/ fs/ | +4 | 2 replies | |
| 6/8 | btrfs: relocation: return bool from btrfs_should_ignore_reloc_rootfs/ fs/ | +10 | 3 replies | |
| 7/8 | btrfs: relocation: use on-stack iterator in build_backref_treefs/ fs/ fs/ | +18 | 5 replies | |
| 8/8 | btrfs: relocation: constify parameters where possiblefs/ fs/ | +33 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Qu Wenruo |
|---|---|---|
| 1/8 | R-b | R-b |
| 2/8 | R-b | |
| 3/8 | R-b | R-b |
| 4/8 | R-b | R-b |
| 5/8 | R-b | R-b |
| 6/8 | R-b | R-b |
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Minor cleanups in relocation.c
Various type cleanups in relocation.c, on-stack variable to replace frequent allocation in build_backref_tree().
David Sterba (8):
btrfs: relocation: use more natural types for tree_block bitfields
btrfs: relocation: use enum for stages
btrfs: relocation: switch bitfields to bool in reloc_control
btrfs: relocation: open code mapping_tree_init
btrfs: switch btrfs_backref_cache::is_reloc to bool
btrfs: relocation: return bool from btrfs_should_ignore_reloc_root
btrfs: relocation: use on-stack iterator in build_backref_tree
btrfs: relocation: constify parameters where possible
fs/btrfs/backref.c | 28 ++++----- fs/btrfs/backref.h | 15 ++--- fs/btrfs/relocation.c | 139 ++++++++++++++++++++---------------------- fs/btrfs/relocation.h | 9 +-- 4 files changed, 87 insertions(+), 104 deletions(-)
Signature · 1 line
2.41.0