public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 00/26] btrfs-progs: sync ctree.c into btrfs-progs
Date: Sat, 29 Apr 2023 16:19:31 -0400	[thread overview]
Message-ID: <cover.1682799405.git.josef@toxicpanda.com> (raw)

Hello,

This is a long series, and it depends on the following series

  btrfs-progs: prep work for syncing files into kernel-shared
  btrfs-progs: sync basic code from the kernel
  btrfs-progs: prep work for syncing ctree.c
  btrfs-progs: more prep work for syncing ctree.c
  
This is even more more prep work for syncing ctree.c, and the last patch is the
actual sync.  A lot of these prep patches are updating the callers to match the
current calling conventions in the kernel to make the syncing straightforward.

This entire series passes our tests.  Thanks,

Josef

Josef Bacik (26):
  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: change how we check supported csum type
  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: add write_extent_buffer_chunk_tree_uuid helper
  btrfs-progs: init new tree blocks in btrfs_alloc_tree_block
  btrfs-progs: sync ctree.c from the kernel

 Makefile                         |    1 +
 btrfs-corrupt-block.c            |    1 +
 btrfs-map-logical.c              |    1 +
 check/clear-cache.c              |   10 +-
 check/main.c                     |  114 +-
 check/mode-common.c              |   35 +-
 check/mode-lowmem.c              |   84 +-
 check/qgroup-verify.c            |   14 +-
 check/repair.c                   |   50 +-
 check/repair.h                   |    5 +
 cmds/inspect-dump-tree.c         |    5 +-
 cmds/inspect-tree-stats.c        |    3 +-
 cmds/rescue-chunk-recover.c      |   16 +-
 cmds/rescue.c                    |    2 +-
 cmds/restore.c                   |   26 +-
 common/extent-tree-utils.c       |  282 ++
 common/extent-tree-utils.h       |   28 +
 convert/main.c                   |   10 +-
 convert/source-fs.c              |    5 +-
 image/main.c                     |   13 +-
 include/kerncompat.h             |   80 +
 kernel-lib/trace.h               |    8 +
 kernel-shared/ctree.c            | 4848 ++++++++++++++++++++----------
 kernel-shared/ctree.h            |  138 +-
 kernel-shared/dir-item.c         |    4 +-
 kernel-shared/disk-io.c          |   36 +-
 kernel-shared/extent-tree.c      |  281 +-
 kernel-shared/extent_io.c        |   16 +-
 kernel-shared/extent_io.h        |    9 +-
 kernel-shared/file-item.c        |   15 +-
 kernel-shared/file.c             |    3 +-
 kernel-shared/free-space-cache.c |    4 +-
 kernel-shared/free-space-tree.c  |    1 -
 kernel-shared/inode-item.c       |    5 +-
 kernel-shared/inode.c            |    5 +-
 kernel-shared/locking.c          |    6 +-
 kernel-shared/print-tree.c       |   62 +-
 kernel-shared/print-tree.h       |    7 +-
 kernel-shared/transaction.c      |    9 +-
 kernel-shared/volumes.c          |    6 +-
 mkfs/main.c                      |   89 +-
 mkfs/rootdir.c                   |   11 +-
 quick-test.c                     |    6 +-
 tune/change-csum.c               |   23 +-
 tune/change-uuid.c               |    6 +-
 tune/convert-bgt.c               |   13 +-
 46 files changed, 4245 insertions(+), 2151 deletions(-)
 create mode 100644 common/extent-tree-utils.c
 create mode 100644 common/extent-tree-utils.h

-- 
2.40.0


             reply	other threads:[~2023-04-29 20:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-29 20:19 Josef Bacik [this message]
2023-04-29 20:19 ` [PATCH 01/26] btrfs-progs: stop using add_root_to_dirty_list in check Josef Bacik
2023-04-29 20:19 ` [PATCH 02/26] btrfs-progs: remove useless add_root_to_dirty_list call in mkfs Josef Bacik
2023-04-29 20:19 ` [PATCH 03/26] btrfs-progs: remove add_root_to_dirty_list call when creating free space tree Josef Bacik
2023-04-29 20:19 ` [PATCH 04/26] btrfs-progs: make add_root_to_dirty_list static and unexport it Josef Bacik
2023-04-29 20:19 ` [PATCH 05/26] btrfs-progs: pass btrfs_trans_handle through btrfs_clear_buffer_dirty Josef Bacik
2023-04-29 20:19 ` [PATCH 06/26] btrfs-progs: update read_node_slot to match the kernel definition Josef Bacik
2023-04-29 20:19 ` [PATCH 07/26] btrfs-progs: update btrfs_bin_search " Josef Bacik
2023-04-29 20:19 ` [PATCH 08/26] btrfs-progs: update btrfs_set_item_key_safe to match " Josef Bacik
2023-04-29 20:19 ` [PATCH 09/26] btrfs-progs: update btrfs_print_leaf to match the " Josef Bacik
2023-04-29 20:19 ` [PATCH 10/26] btrfs-progs: update btrfs_truncate_item " Josef Bacik
2023-04-29 20:19 ` [PATCH 11/26] btrfs-progs: update btrfs_extend_item " Josef Bacik
2023-04-29 20:19 ` [PATCH 12/26] btrfs-progs: sync memcpy_extent_buffer from the kernel Josef Bacik
2023-04-29 20:19 ` [PATCH 13/26] btrfs-progs: change how we check supported csum type Josef Bacik
2023-04-29 20:19 ` [PATCH 14/26] btrfs-progs: drop btrfs_init_path Josef Bacik
2023-04-29 20:19 ` [PATCH 15/26] btrfs-progs: move btrfs_set_item_key_unsafe to check/ Josef Bacik
2023-04-29 20:19 ` [PATCH 16/26] btrfs-progs: move btrfs_record_file_extent and code into a new file Josef Bacik
2023-04-29 20:19 ` [PATCH 17/26] btrfs-progs: make a local copy of btrfs_next_sibling_block in print-tree.c Josef Bacik
2023-04-29 20:19 ` [PATCH 18/26] btrfs-progs: don't set the ->commit_root in btrfs_create_tree Josef Bacik
2023-04-29 20:19 ` [PATCH 19/26] btrfs-progs: remove btrfs_create_root Josef Bacik
2023-04-29 20:19 ` [PATCH 20/26] btrfs-progs: move btrfs_uuid_tree_add into mkfs/main.c Josef Bacik
2023-04-29 20:19 ` [PATCH 21/26] btrfs-progs: make btrfs_del_ptr a void Josef Bacik
2023-04-29 20:19 ` [PATCH 22/26] btrfs-progs: replace blocksize with parent argument for btrfs_alloc_tree_block Josef Bacik
2023-04-29 20:19 ` [PATCH 23/26] btrfs-progs: use path->search_for_extension Josef Bacik
2023-04-29 20:19 ` [PATCH 24/26] btrfs-progs: add write_extent_buffer_chunk_tree_uuid helper Josef Bacik
2023-04-29 20:19 ` [PATCH 25/26] btrfs-progs: init new tree blocks in btrfs_alloc_tree_block Josef Bacik
2023-04-29 20:19 ` [PATCH 26/26] btrfs-progs: sync ctree.c from the kernel Josef Bacik
2023-05-03 14:20 ` [PATCH 00/26] btrfs-progs: sync ctree.c into btrfs-progs 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.1682799405.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