From: David Sterba <dsterba@suse.cz>
To: Josef Bacik <josef@toxicpanda.com>
Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH 00/38] btrfs-progs: sync ctree.c into btrfs-progs
Date: Fri, 25 Aug 2023 23:35:27 +0200 [thread overview]
Message-ID: <20230825213527.GA14420@twin.jikos.cz> (raw)
In-Reply-To: <cover.1692800904.git.josef@toxicpanda.com>
On Wed, Aug 23, 2023 at 10:32:26AM -0400, Josef Bacik wrote:
> Hello,
>
> I started back up my extent tree v2 work and noticed not all my ctree.c sync
> patches made it in the last submission as I missed some comments.
>
> This patchset is much larger than what was left, as I broke up the changes more
> discreetly. In my original submission I had ignored some of the tree wide
> changes in favor of expediency, and had modified ctree.c more to match what we
> had in btrfs-progs.
>
> This time I've updated everything that was different in ctree.c in the rest of
> btrfs-progs to make the actual sync'ing of ctree.c more straightforward. I had
> to modify a few things in ctree.c, but they are very small and specific, no more
> updates of any of the global functions we depend on.
>
> The downside is this patchset is massive. The upside is the patches are small
> and self contained, with the obvious exception of the actual ctree.c sync.
>
> This also will make subsequent sync'ing of other source files much easier, as
> I've changed a good deal of the very common helpers to match what exists in the
> kernel.
>
> This passes all the tests. There are a few behavior changes, but for the most
> part it's just updating helpers to match kernel definitions and moving code
> around. Thanks,
>
> Josef
>
> Josef Bacik (38):
> btrfs-progs: stop using add_root_to_dirty_list in check
> btrfs-progs: remove useless add_root_to_dirty_list call in mkfs
> btrfs-progs: remove add_root_to_dirty_list call when creating free
> space tree
> btrfs-progs: make add_root_to_dirty_list static and unexport it
> btrfs-progs: pass btrfs_trans_handle through btrfs_clear_buffer_dirty
> btrfs-progs: update read_node_slot to match the kernel definition
> btrfs-progs: update btrfs_bin_search to match the kernel definition
> btrfs-progs: update btrfs_set_item_key_safe to match kernel definition
> btrfs-progs: update btrfs_print_leaf to match the kernel definition
> btrfs-progs: update btrfs_truncate_item to match the kernel definition
> btrfs-progs: update btrfs_extend_item to match the kernel definition
> btrfs-progs: sync memcpy_extent_buffer from the kernel
> btrfs-progs: drop btrfs_init_path
> btrfs-progs: move btrfs_set_item_key_unsafe to check/
> btrfs-progs: move btrfs_record_file_extent and code into a new file
> btrfs-progs: make a local copy of btrfs_next_sibling_block in
> print-tree.c
> btrfs-progs: don't set the ->commit_root in btrfs_create_tree
> btrfs-progs: remove btrfs_create_root
> btrfs-progs: move btrfs_uuid_tree_add into mkfs/main.c
> btrfs-progs: make btrfs_del_ptr a void
> btrfs-progs: replace blocksize with parent argument for
> btrfs_alloc_tree_block
> btrfs-progs: use path->search_for_extension
> btrfs-progs: init new tree blocks in btrfs_alloc_tree_block
> btrfs-progs: add dwarves to the package list for ci
> btrfs-progs: add kerncompat helpers for ctree.c sync
> btrfs-progs: add trans_lock to fs_info
> btrfs-progs: add commit_root_sem to btrfs_fs_info
> btrfs-progs: update btrfs_cow_block to match the in-kernel definition
> btrfs-progs: update btrfs_insert_empty_items to match the kernel
> btrfs-progs: update btrfs_insert_empty_item to match the kernel
> btrfs-progs: update btrfs_del_ptr to match the kernel
> btrfs-progs: update btrfs_insert_item to match the kernel
> btrfs-progs: update btrfs_leaf_free_space to match the kernel
> btrfs-progs: use btrfs_tree_parent_check for btrfs_read_extent_buffer
> btrfs-progs: update read_tree_block to take a btrfs_parent_tree_check
> btrfs-progs: inline btrfs_name_hash and btrfs_extref_hash
> btrfs-progs: update btrfs_split_item to match the in-kernel definition
1-37 applied, with some minor fixups, thanks. This change granularity is
good.
prev parent reply other threads:[~2023-08-25 21:43 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 14:32 [PATCH 00/38] btrfs-progs: sync ctree.c into btrfs-progs Josef Bacik
2023-08-23 14:32 ` [PATCH 01/38] btrfs-progs: stop using add_root_to_dirty_list in check Josef Bacik
2023-08-23 14:32 ` [PATCH 02/38] btrfs-progs: remove useless add_root_to_dirty_list call in mkfs Josef Bacik
2023-08-29 6:32 ` Qu Wenruo
2023-08-29 6:42 ` Qu Wenruo
2023-08-23 14:32 ` [PATCH 03/38] btrfs-progs: remove add_root_to_dirty_list call when creating free space tree Josef Bacik
2023-08-23 14:32 ` [PATCH 04/38] btrfs-progs: make add_root_to_dirty_list static and unexport it Josef Bacik
2023-08-23 14:32 ` [PATCH 05/38] btrfs-progs: pass btrfs_trans_handle through btrfs_clear_buffer_dirty Josef Bacik
2023-08-23 14:32 ` [PATCH 06/38] btrfs-progs: update read_node_slot to match the kernel definition Josef Bacik
2023-08-23 14:32 ` [PATCH 07/38] btrfs-progs: update btrfs_bin_search " Josef Bacik
2023-08-23 14:32 ` [PATCH 08/38] btrfs-progs: update btrfs_set_item_key_safe to match " Josef Bacik
2023-08-23 14:32 ` [PATCH 09/38] btrfs-progs: update btrfs_print_leaf to match the " Josef Bacik
2023-08-23 14:32 ` [PATCH 10/38] btrfs-progs: update btrfs_truncate_item " Josef Bacik
2023-08-23 14:32 ` [PATCH 11/38] btrfs-progs: update btrfs_extend_item " Josef Bacik
2023-08-23 14:32 ` [PATCH 12/38] btrfs-progs: sync memcpy_extent_buffer from the kernel Josef Bacik
2023-08-23 14:32 ` [PATCH 13/38] btrfs-progs: drop btrfs_init_path Josef Bacik
2023-08-23 17:25 ` David Sterba
2023-08-23 14:32 ` [PATCH 14/38] btrfs-progs: move btrfs_set_item_key_unsafe to check/ Josef Bacik
2023-08-23 14:32 ` [PATCH 15/38] btrfs-progs: move btrfs_record_file_extent and code into a new file Josef Bacik
2023-08-23 14:32 ` [PATCH 16/38] btrfs-progs: make a local copy of btrfs_next_sibling_block in print-tree.c Josef Bacik
2023-08-23 14:32 ` [PATCH 17/38] btrfs-progs: don't set the ->commit_root in btrfs_create_tree Josef Bacik
2023-08-23 14:32 ` [PATCH 18/38] btrfs-progs: remove btrfs_create_root Josef Bacik
2023-08-23 14:32 ` [PATCH 19/38] btrfs-progs: move btrfs_uuid_tree_add into mkfs/main.c Josef Bacik
2023-08-23 14:32 ` [PATCH 20/38] btrfs-progs: make btrfs_del_ptr a void Josef Bacik
2023-08-23 14:32 ` [PATCH 21/38] btrfs-progs: replace blocksize with parent argument for btrfs_alloc_tree_block Josef Bacik
2023-08-23 14:32 ` [PATCH 22/38] btrfs-progs: use path->search_for_extension Josef Bacik
2023-08-23 14:32 ` [PATCH 23/38] btrfs-progs: init new tree blocks in btrfs_alloc_tree_block Josef Bacik
2023-08-23 14:32 ` [PATCH 24/38] btrfs-progs: add dwarves to the package list for ci Josef Bacik
2023-08-23 14:32 ` [PATCH 25/38] btrfs-progs: add kerncompat helpers for ctree.c sync Josef Bacik
2023-08-23 14:32 ` [PATCH 26/38] btrfs-progs: add trans_lock to fs_info Josef Bacik
2023-08-23 14:32 ` [PATCH 27/38] btrfs-progs: add commit_root_sem to btrfs_fs_info Josef Bacik
2023-08-23 14:32 ` [PATCH 28/38] btrfs-progs: update btrfs_cow_block to match the in-kernel definition Josef Bacik
2023-08-23 14:32 ` [PATCH 29/38] btrfs-progs: update btrfs_insert_empty_items to match the kernel Josef Bacik
2023-08-23 14:32 ` [PATCH 30/38] btrfs-progs: update btrfs_insert_empty_item " Josef Bacik
2023-08-23 14:32 ` [PATCH 31/38] btrfs-progs: update btrfs_del_ptr " Josef Bacik
2023-08-23 14:32 ` [PATCH 32/38] btrfs-progs: update btrfs_insert_item " Josef Bacik
2023-08-23 14:32 ` [PATCH 33/38] btrfs-progs: update btrfs_leaf_free_space " Josef Bacik
2023-08-23 14:33 ` [PATCH 34/38] btrfs-progs: use btrfs_tree_parent_check for btrfs_read_extent_buffer Josef Bacik
2023-08-23 14:33 ` [PATCH 35/38] btrfs-progs: update read_tree_block to take a btrfs_parent_tree_check Josef Bacik
2023-08-23 14:33 ` [PATCH 36/38] btrfs-progs: inline btrfs_name_hash and btrfs_extref_hash Josef Bacik
2023-08-23 14:33 ` [PATCH 37/38] btrfs-progs: update btrfs_split_item to match the in-kernel definition Josef Bacik
2023-08-23 14:33 ` [PATCH 38/38] btrfs-progs: sync ctree.c from kernel Josef Bacik
2023-08-23 17:41 ` [PATCH 00/38] btrfs-progs: sync ctree.c into btrfs-progs David Sterba
2023-08-25 21:35 ` David Sterba [this message]
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=20230825213527.GA14420@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=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;
as well as URLs for NNTP newsgroup(s).