Move some code out of ctree.c and ctree.h
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | btrfs: move cond_wake_up functions out of ctreefs/ fs/ fs/ +9 more | +43 | 1 reply | |
| 2/7 | btrfs: move math functions to misc.hfs/ fs/ fs/ +4 more | +21 | 1 reply | |
| 3/7 | btrfs: move private raid56 definitions from ctree.hfs/ fs/ | +16 | 1 reply | |
| 4/7 | btrfs: rename and export read_node_slotfs/ fs/ | +14 | 1 reply | |
| 5/7 | btrfs: move functions for tree compare to send.cfs/ fs/ fs/ | +374 | 1 reply | |
| 6/7 | btrfs: move struct io_ctl to free-space-cache.hfs/ fs/ fs/ | +15 | 1 reply | |
| 7/7 | btrfs: move dev_stats helpers to volumes.cfs/ fs/ | +23 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] Move some code out of ctree.c and ctree.h
The ctree.[ch] files gathered a lot of unrelated code over the years, it should be moved to appropriate files. This series does the easiest part, nes I'll split the incompate/feature handling and messages.
David Sterba (7):
btrfs: move cond_wake_up functions out of ctree
btrfs: move math functions to misc.h
btrfs: move private raid56 definitions from ctree.h
btrfs: rename and export read_node_slot
btrfs: move functions for tree compare to send.c
btrfs: move struct io_ctl to free-space-cache.h
btrfs: move dev_stats helpers to volumes.c
fs/btrfs/block-group.c | 2 +- fs/btrfs/block-group.h | 2 + fs/btrfs/block-rsv.c | 2 +- fs/btrfs/compression.c | 1 + fs/btrfs/ctree.c | 382 +----------------------------------- fs/btrfs/ctree.h | 93 +-------- fs/btrfs/delayed-inode.c | 1 + fs/btrfs/dev-replace.c | 1 + fs/btrfs/extent-tree.c | 2 +- fs/btrfs/free-space-cache.h | 14 +- fs/btrfs/inode.c | 1 + fs/btrfs/locking.c | 1 + fs/btrfs/math.h | 28 --- fs/btrfs/misc.h | 50 +++++ fs/btrfs/ordered-data.c | 1 + fs/btrfs/raid56.c | 16 ++ fs/btrfs/send.c | 374 +++++++++++++++++++++++++++++++++++ fs/btrfs/space-info.c | 2 +- fs/btrfs/transaction.c | 1 + fs/btrfs/tree-log.c | 1 + fs/btrfs/volumes.c | 25 ++- fs/btrfs/zstd.c | 1 + 22 files changed, 505 insertions(+), 496 deletions(-) delete mode 100644 fs/btrfs/math.h create mode 100644 fs/btrfs/misc.h
Signature · 1 line
2.22.0