All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/26] btrfs: final ctree.h cleanups
@ 2022-10-26 19:08 Josef Bacik
  2022-10-26 19:08 ` [PATCH 01/26] btrfs: convert discard stat defs to enum Josef Bacik
                   ` (25 more replies)
  0 siblings, 26 replies; 58+ messages in thread
From: Josef Bacik @ 2022-10-26 19:08 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

Hello,

This is the last bit to cleanup ctree.h.  There bulk of this is moving the
prototypes into their own headers, so yes this explodes out the number of files
we have.  I've also moved messages stuff into messages.c, as when I started the
work to sync stuff to btrfs-progs I realized it's kind of annoying having that
code bundled up with other things, so having it separate will make it easier to
deal with that stuff on it's own.

I've also left btrfs_root in ctree.h.  I really, really want to cleanup
disk-io.c, and so I'm holding off moving btrfs_root until I do the disk-io.c
cleanup, hopefully there will be a logical place to move that struct once I've
done that cleanup.

This is the last batch of cleanups for this cycle hopefully.  I may have some
smaller things as I start trying to sync btrfs-progs, but this is the last big
terrible splitting for now.  Thanks,

Josef

Josef Bacik (26):
  btrfs: convert discard stat defs to enum
  btrfs: move btrfs_chunk_item_size out of ctree.h
  btrfs: add dependencies to fs.h and block-rsv.h
  btrfs: add blk_types.h include to compression.h
  btrfs: move the printk and assert helpers to messages.c
  btrfs: move inode prototypes to btrfs_inode.h
  btrfs: rename tree-defrag.c to defrag.c
  btrfs: move the auto defrag code to defrag.c
  btrfs: move the file defrag code into defrag.c
  btrfs: move defrag related prototypes to their own header
  btrfs: move dir-item prototypes into dir-item.h
  btrfs: move file-item prototypes into their own header
  btrfs: move uuid tree prototypes to uuid-tree.h
  btrfs: move ioctl prototypes into ioctl.h
  btrfs: move file prototypes to file.h
  btrfs: move the 32bit warn defines into messages.h
  btrfs: move the snapshot drop related prototypes to extent-tree.h
  btrfs: move acl prototypes into acl.h
  btrfs: move relocation prototypes into relocation.h
  btrfs: move scrub prototypes into scrub.h
  btrfs: move dev-replace prototypes into dev-replace.h
  btrfs: move verity prototypes into verity.h
  btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h
  btrfs: move super prototypes into super.h
  btrfs: move super_block specific helpers into super.h
  btrfs: move orphan prototypes into orphan.h

 fs/btrfs/Makefile           |    4 +-
 fs/btrfs/acl.c              |    1 +
 fs/btrfs/acl.h              |   23 +
 fs/btrfs/backref.c          |    1 +
 fs/btrfs/block-rsv.h        |    1 +
 fs/btrfs/btrfs_inode.h      |  137 ++++
 fs/btrfs/compression.c      |    2 +
 fs/btrfs/compression.h      |    1 +
 fs/btrfs/ctree.c            |    1 +
 fs/btrfs/ctree.h            |  402 ----------
 fs/btrfs/defrag.c           | 1381 +++++++++++++++++++++++++++++++++++
 fs/btrfs/defrag.h           |   23 +
 fs/btrfs/delayed-inode.c    |    1 +
 fs/btrfs/dev-replace.c      |    1 +
 fs/btrfs/dev-replace.h      |    8 +
 fs/btrfs/dir-item.c         |    1 +
 fs/btrfs/dir-item.h         |   43 ++
 fs/btrfs/disk-io.c          |    5 +
 fs/btrfs/export.c           |    1 +
 fs/btrfs/extent-tree.c      |    2 +
 fs/btrfs/extent-tree.h      |    6 +
 fs/btrfs/extent_io.c        |    4 +
 fs/btrfs/file-item.c        |    2 +
 fs/btrfs/file-item.h        |   35 +
 fs/btrfs/file.c             |  344 +--------
 fs/btrfs/file.h             |   31 +
 fs/btrfs/free-space-cache.c |    3 +
 fs/btrfs/free-space-cache.h |    8 +-
 fs/btrfs/fs.h               |   35 +-
 fs/btrfs/inode-item.c       |    1 +
 fs/btrfs/inode.c            |   11 +
 fs/btrfs/ioctl.c            |  909 +----------------------
 fs/btrfs/ioctl.h            |   17 +
 fs/btrfs/lzo.c              |    1 +
 fs/btrfs/messages.c         |  353 +++++++++
 fs/btrfs/messages.h         |   13 +
 fs/btrfs/ordered-data.c     |    2 +
 fs/btrfs/orphan.h           |   11 +
 fs/btrfs/props.c            |    1 +
 fs/btrfs/reflink.c          |    3 +
 fs/btrfs/relocation.c       |    3 +
 fs/btrfs/relocation.h       |   25 +
 fs/btrfs/root-tree.c        |    1 +
 fs/btrfs/scrub.c            |    2 +
 fs/btrfs/scrub.h            |   16 +
 fs/btrfs/send.c             |    4 +
 fs/btrfs/super.c            |  352 +--------
 fs/btrfs/super.h            |   29 +
 fs/btrfs/transaction.c      |    6 +
 fs/btrfs/tree-defrag.c      |  133 ----
 fs/btrfs/tree-log.c         |    4 +
 fs/btrfs/uuid-tree.c        |    1 +
 fs/btrfs/uuid-tree.h        |   12 +
 fs/btrfs/verity.c           |    3 +
 fs/btrfs/verity.h           |   27 +
 fs/btrfs/volumes.c          |    5 +
 fs/btrfs/volumes.h          |    9 +
 fs/btrfs/xattr.c            |    1 +
 58 files changed, 2316 insertions(+), 2146 deletions(-)
 create mode 100644 fs/btrfs/acl.h
 create mode 100644 fs/btrfs/defrag.c
 create mode 100644 fs/btrfs/defrag.h
 create mode 100644 fs/btrfs/dir-item.h
 create mode 100644 fs/btrfs/file-item.h
 create mode 100644 fs/btrfs/file.h
 create mode 100644 fs/btrfs/ioctl.h
 create mode 100644 fs/btrfs/messages.c
 create mode 100644 fs/btrfs/orphan.h
 create mode 100644 fs/btrfs/relocation.h
 create mode 100644 fs/btrfs/scrub.h
 create mode 100644 fs/btrfs/super.h
 delete mode 100644 fs/btrfs/tree-defrag.c
 create mode 100644 fs/btrfs/uuid-tree.h
 create mode 100644 fs/btrfs/verity.h

-- 
2.26.3


^ permalink raw reply	[flat|nested] 58+ messages in thread

end of thread, other threads:[~2022-10-31  7:51 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 19:08 [PATCH 00/26] btrfs: final ctree.h cleanups Josef Bacik
2022-10-26 19:08 ` [PATCH 01/26] btrfs: convert discard stat defs to enum Josef Bacik
2022-10-27  6:43   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 02/26] btrfs: move btrfs_chunk_item_size out of ctree.h Josef Bacik
2022-10-27  6:43   ` Johannes Thumshirn
2022-10-27 13:40     ` David Sterba
2022-10-26 19:08 ` [PATCH 03/26] btrfs: add dependencies to fs.h and block-rsv.h Josef Bacik
2022-10-27  6:45   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 04/26] btrfs: add blk_types.h include to compression.h Josef Bacik
2022-10-27  6:45   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 05/26] btrfs: move the printk and assert helpers to messages.c Josef Bacik
2022-10-28  5:22   ` Anand Jain
2022-10-28 19:37     ` David Sterba
2022-10-31  7:51       ` Anand Jain
2022-10-26 19:08 ` [PATCH 06/26] btrfs: move inode prototypes to btrfs_inode.h Josef Bacik
2022-10-27  6:54   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 07/26] btrfs: rename tree-defrag.c to defrag.c Josef Bacik
2022-10-27  6:55   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 08/26] btrfs: move the auto defrag code " Josef Bacik
2022-10-28  5:30   ` Anand Jain
2022-10-26 19:08 ` [PATCH 09/26] btrfs: move the file defrag code into defrag.c Josef Bacik
2022-10-28  5:28   ` Anand Jain
2022-10-26 19:08 ` [PATCH 10/26] btrfs: move defrag related prototypes to their own header Josef Bacik
2022-10-27  7:17   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 11/26] btrfs: move dir-item prototypes into dir-item.h Josef Bacik
2022-10-27  7:17   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 12/26] btrfs: move file-item prototypes into their own header Josef Bacik
2022-10-27  7:35   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 13/26] btrfs: move uuid tree prototypes to uuid-tree.h Josef Bacik
2022-10-27  9:41   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 14/26] btrfs: move ioctl prototypes into ioctl.h Josef Bacik
2022-10-27  9:42   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 15/26] btrfs: move file prototypes to file.h Josef Bacik
2022-10-27 10:04   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 16/26] btrfs: move the 32bit warn defines into messages.h Josef Bacik
2022-10-27 10:08   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 17/26] btrfs: move the snapshot drop related prototypes to extent-tree.h Josef Bacik
2022-10-27 10:10   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 18/26] btrfs: move acl prototypes into acl.h Josef Bacik
2022-10-27 10:10   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 19/26] btrfs: move relocation prototypes into relocation.h Josef Bacik
2022-10-27 10:18   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 20/26] btrfs: move scrub prototypes into scrub.h Josef Bacik
2022-10-27 10:18   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 21/26] btrfs: move dev-replace prototypes into dev-replace.h Josef Bacik
2022-10-27 10:19   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 22/26] btrfs: move verity prototypes into verity.h Josef Bacik
2022-10-27 10:19   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 23/26] btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h Josef Bacik
2022-10-27 10:20   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 24/26] btrfs: move super prototypes into super.h Josef Bacik
2022-10-27 10:20   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 25/26] btrfs: move super_block specific helpers " Josef Bacik
2022-10-27 10:21   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 26/26] btrfs: move orphan prototypes into orphan.h Josef Bacik
2022-10-26 20:52   ` kernel test robot
2022-10-27 14:02     ` David Sterba
2022-10-27 11:32   ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.