From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes
Date: Mon, 24 Oct 2022 14:46:51 -0400 [thread overview]
Message-ID: <cover.1666637013.git.josef@toxicpanda.com> (raw)
Hello,
This is the next batch of ctree.h cleanups, and likely the last one for a little
bit. The remaining prototypes in ctree.h are going to be touched by a lot of
work that's currently happening, and I don't want to mess with peoples work now
that we're getting into the development cycle a little bit.
The big thing I've done is moved btrfs_fs_info into fs.h. This is relatively
painless at this poing since I've organized everything up to now so I can just
copy and paste the big chunk of it out of ctree.h into fs.h.
Then I've gone through and cleaned up a lot of randomm little things, and then
moved some prototypes into their own headers.
I stopped where we got to the name stuff, as I know the fscrypt stuff is going
to touch all of that. I don't want to make that harder to merge, so I've
stopped here so that code can go in when it's ready, and then we can pick back
up cleaning up the rest of ctree.h.
The entirety of these changes are just code moving, there's been no functional
changing. Thanks,
Josef
Josef Bacik (9):
btrfs: move btrfs_fs_info declarations into fs.h
btrfs: move the lockdep helpers into locking.h
btrfs: minor whitespace in ctree.h
btrfs: remove extra space info prototypes in ctree.h
btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c
btrfs: move extent-tree helpers into their own header file
btrfs: move delalloc space related prototypes to delalloc-space.h
btrfs: delete unused function prototypes in ctree.h
btrfs: move root tree prototypes to their own header
fs/btrfs/backref.c | 1 +
fs/btrfs/block-group.c | 1 +
fs/btrfs/ctree.c | 1 +
fs/btrfs/ctree.h | 854 +------------------------------------
fs/btrfs/delalloc-space.h | 3 +
fs/btrfs/disk-io.c | 2 +
fs/btrfs/extent-tree.c | 36 +-
fs/btrfs/extent-tree.h | 76 ++++
fs/btrfs/file.c | 1 +
fs/btrfs/free-space-tree.c | 2 +
fs/btrfs/fs.h | 657 ++++++++++++++++++++++++++++
fs/btrfs/inode-item.c | 1 +
fs/btrfs/inode.c | 2 +
fs/btrfs/ioctl.c | 2 +
fs/btrfs/locking.h | 76 ++++
fs/btrfs/qgroup.c | 2 +
fs/btrfs/relocation.c | 2 +
fs/btrfs/root-tree.c | 1 +
fs/btrfs/root-tree.h | 36 ++
fs/btrfs/space-info.c | 35 ++
fs/btrfs/space-info.h | 1 +
fs/btrfs/transaction.c | 2 +
fs/btrfs/tree-log.c | 2 +
23 files changed, 909 insertions(+), 887 deletions(-)
create mode 100644 fs/btrfs/extent-tree.h
create mode 100644 fs/btrfs/root-tree.h
--
2.26.3
next reply other threads:[~2022-10-24 20:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 18:46 Josef Bacik [this message]
2022-10-24 18:46 ` [PATCH 1/9] btrfs: move btrfs_fs_info declarations into fs.h Josef Bacik
2022-10-24 18:46 ` [PATCH 2/9] btrfs: move the lockdep helpers into locking.h Josef Bacik
2022-10-24 18:46 ` [PATCH 3/9] btrfs: minor whitespace in ctree.h Josef Bacik
2022-10-24 18:46 ` [PATCH 4/9] btrfs: remove extra space info prototypes " Josef Bacik
2022-10-24 18:46 ` [PATCH 5/9] btrfs: move btrfs_account_ro_block_groups_free_space into space-info.c Josef Bacik
2022-10-24 18:46 ` [PATCH 6/9] btrfs: move extent-tree helpers into their own header file Josef Bacik
2022-10-24 18:46 ` [PATCH 7/9] btrfs: move delalloc space related prototypes to delalloc-space.h Josef Bacik
2022-10-24 18:46 ` [PATCH 8/9] btrfs: delete unused function prototypes in ctree.h Josef Bacik
2022-10-24 18:47 ` [PATCH 9/9] btrfs: move root tree prototypes to their own header Josef Bacik
2022-10-25 12:25 ` [PATCH 0/9] btrfs: move btrfs_fs_info and some prototypes David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1666637013.git.josef@toxicpanda.com \
--to=josef@toxicpanda.com \
--cc=kernel-team@fb.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox