btrfs: initial ctree.h cleanups, simple stuff
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 43 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | btrfs: remove set/clear_pending_info helpersfs/ | +0 | 3 replies | |
| 2/17 | btrfs: remove BTRFS_TOTAL_BYTES_PINNED_BATCHfs/ | +0 | 2 replies | |
| 3/17 | btrfs: remove BTRFS_IOPRIO_READAfs/ | +0 | 2 replies | |
| 4/17 | btrfs: move btrfs on disk definitions out of ctree.hfs/ include/ | +214 | 3 replies | |
| 5/17 | btrfs: move btrfs_get_block_group helper out of disk-io.hfs/ fs/ | +8 | 2 replies | |
| 6/17 | btrfs: move maximum limits to btrfs_tree.hfs/ include/ | +13 | 2 replies | |
| 7/17 | btrfs: move BTRFS_MAX_MIRRORS into scrub.cfs/ fs/ | +11 | 2 replies | |
| 8/17 | btrfs: move discard stat defs to free-space-cache.hfs/ fs/ | +9 | 4 replies | |
| 9/17 | btrfs: move btrfs_chunk_item_size out of ctree.hfs/ fs/ fs/ | +8 | 3 replies | |
| 10/17 | btrfs: move btrfs_should_fragment_free_space into block-group.cfs/ fs/ | +13 | 2 replies | |
| 11/17 | btrfs: move flush related definitions to space-info.hfs/ fs/ fs/ +4 more | +64 | 3 replies | |
| 12/17 | btrfs: move btrfs_print_data_csum_error into inode.cfs/ fs/ | +25 | 3 replies | |
| 13/17 | btrfs: move trans_handle_cachep out of ctree.hfs/ fs/ fs/ +2 more | +27 | 2 replies | |
| 14/17 | btrfs: move btrfs_path_cachep out of ctree.hfs/ fs/ fs/ +1 more | +27 | 2 replies | |
| 15/17 | btrfs: move free space cachep's out of ctree.hfs/ fs/ fs/ +2 more | +38 | 2 replies | |
| 16/17 | btrfs: move btrfs_next_old_item into ctree.cfs/ fs/ | +11 | 2 replies | |
| 17/17 | btrfs: move the btrfs_verity_descriptor_item defs up in ctree.hfs/ | +10 | 2 replies |
Reviews trailers per patch
All 17 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo | Johannes Thumshirn |
|---|---|---|
| 1/17 | R-b | R-b |
| 2/17 | R-b | R-b |
| 3/17 | R-b | R-b |
| 4/17 | R-b | |
| 5/17 | R-b | |
| 6/17 | R-b | R-b |
| 7/17 | R-b | R-b |
| 8/17 | R-b | R-b |
| 9/17 | R-b | |
| 10/17 | R-b | R-b |
| 11/17 | R-b | |
| 12/17 | R-b | R-b |
| 13/17 | R-b | R-b |
| 14/17 | R-b | R-b |
| 15/17 | R-b | R-b |
| 16/17 | R-b | R-b |
| 17/17 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/17] btrfs: initial ctree.h cleanups, simple stuff
Hello,
This is the first part in what will probably be very many parts in my work to cleanup ctree.h. These are the smaller changes, mostly removing code that's not used anymore, moving some stuff that's local to C files that don't need to be in the header at all, and moving the rest of the on-disk definition stuff to btrfs_tree.h. There's a lot of patche here, but they're all relatively small, the largest being the patch to move the on-disk definitions to btrfs_tree.h, which is not very large compared to patches in the next several series. This has been built and tested, it's relatively low risk. Thanks,
Josef
Josef Bacik (17):
btrfs: remove set/clear_pending_info helpers
btrfs: remove BTRFS_TOTAL_BYTES_PINNED_BATCH
btrfs: remove BTRFS_IOPRIO_READA
btrfs: move btrfs on disk definitions out of ctree.h
btrfs: move btrfs_get_block_group helper out of disk-io.h
btrfs: move maximum limits to btrfs_tree.h
btrfs: move BTRFS_MAX_MIRRORS into scrub.c
btrfs: move discard stat defs to free-space-cache.h
btrfs: move btrfs_chunk_item_size out of ctree.h
btrfs: move btrfs_should_fragment_free_space into block-group.c
btrfs: move flush related definitions to space-info.h
btrfs: move btrfs_print_data_csum_error into inode.c
btrfs: move trans_handle_cachep out of ctree.h
btrfs: move btrfs_path_cachep out of ctree.h
btrfs: move free space cachep's out of ctree.h
btrfs: move btrfs_next_old_item into ctree.c
btrfs: move the btrfs_verity_descriptor_item defs up in ctree.h
fs/btrfs/block-group.c | 12 + fs/btrfs/block-group.h | 11 +- fs/btrfs/btrfs_inode.h | 26 --- fs/btrfs/ctree.c | 26 +++ fs/btrfs/ctree.h | 388 ++------------------------------ fs/btrfs/delayed-inode.c | 1 + fs/btrfs/disk-io.c | 7 + fs/btrfs/disk-io.h | 8 +- fs/btrfs/free-space-cache.c | 28 +++ fs/btrfs/free-space-cache.h | 11 + fs/btrfs/inode-item.c | 1 + fs/btrfs/inode.c | 57 ++--- fs/btrfs/props.c | 1 + fs/btrfs/relocation.c | 1 + fs/btrfs/scrub.c | 11 + fs/btrfs/space-info.h | 59 +++++ fs/btrfs/super.c | 24 +- fs/btrfs/transaction.c | 17 ++ fs/btrfs/transaction.h | 2 + fs/btrfs/volumes.c | 7 + fs/btrfs/volumes.h | 2 +- include/uapi/linux/btrfs_tree.h | 226 +++++++++++++++++++ 22 files changed, 476 insertions(+), 450 deletions(-)
Signature · 1 line
2.26.3