mbox series

[0/7] Move some code out of ctree.c and ctree.h

Message ID cover.1566579823.git.dsterba@suse.com (mailing list archive)
Headers show
Series Move some code out of ctree.c and ctree.h | expand

Message

David Sterba Aug. 23, 2019, 5:08 p.m. UTC
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