All of lore.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/18] btrfs-progs: more prep work for syncing ctree.c
Date: Wed, 19 Apr 2023 17:23:51 -0400	[thread overview]
Message-ID: <cover.1681939316.git.josef@toxicpanda.com> (raw)

Hello,

These are a bunch of changes that sync various api and structure differences
that exist between btrfs-progs and the kernel.  Most of these are small, but the
last patch is sync'ing tree-checker.[ch].  This was mostly left intact, however
there's a slight change to disable some of the checking for tools like fsck or
btrfs-image.

This series depends on
	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

Thanks,

Josef

Josef Bacik (18):
  btrfs-progs: sync and stub-out tree-mod-log.h
  btrfs-progs: add btrfs_root_id helper
  btrfs-progs: remove root argument from free_extent and inc_extent_ref
  btrfs-progs: pass root_id for btrfs_free_tree_block
  btrfs-progs: add a free_extent_buffer_stale helper
  btrfs-progs: add btrfs_is_testing helper
  btrfs-progs: add accounting_lock to btrfs_root
  btrfs-progs: update read_tree_block to match the kernel definition
  btrfs-progs: make reada_for_search static
  btrfs-progs: sync btrfs_path fields with the kernel
  btrfs-progs: update arguments of find_extent_buffer
  btrfs-progs: add btrfs_readahead_node_child helper
  btrfs-progs: add an atomic arg to btrfs_buffer_uptodate
  btrfs-progs: add a btrfs_read_extent_buffer helper
  btrfs-progs: add BTRFS_STRIPE_LEN_SHIFT definition
  btrfs-progs: rename btrfs_check_* to __btrfs_check_*
  btrfs-progs: change btrfs_check_chunk_valid to match the kernel
    version
  btrfs-progs: sync tree-checker.[ch]

 Makefile                         |    1 +
 btrfs-corrupt-block.c            |    8 +-
 btrfs-find-root.c                |    2 +-
 check/clear-cache.c              |    5 +-
 check/main.c                     |   28 +-
 check/mode-common.c              |    4 +-
 check/mode-lowmem.c              |   31 +-
 check/qgroup-verify.c            |    3 +-
 check/repair.c                   |   13 +-
 cmds/inspect-dump-tree.c         |   12 +-
 cmds/inspect-tree-stats.c        |    4 +-
 cmds/rescue.c                    |    3 +-
 cmds/restore.c                   |   11 +-
 image/main.c                     |   25 +-
 include/kerncompat.h             |   10 +
 kernel-shared/backref.c          |    6 +-
 kernel-shared/ctree.c            |  222 +---
 kernel-shared/ctree.h            |   77 +-
 kernel-shared/disk-io.c          |   92 +-
 kernel-shared/disk-io.h          |   16 +-
 kernel-shared/extent-tree.c      |   33 +-
 kernel-shared/extent_io.c        |   26 +-
 kernel-shared/extent_io.h        |    4 +-
 kernel-shared/free-space-cache.c |    5 +-
 kernel-shared/print-tree.c       |    4 +-
 kernel-shared/tree-checker.c     | 2064 ++++++++++++++++++++++++++++++
 kernel-shared/tree-checker.h     |   72 ++
 kernel-shared/tree-mod-log.h     |   96 ++
 kernel-shared/volumes.c          |  136 +-
 kernel-shared/volumes.h          |    5 +-
 tune/change-uuid.c               |    2 +-
 31 files changed, 2521 insertions(+), 499 deletions(-)
 create mode 100644 kernel-shared/tree-checker.c
 create mode 100644 kernel-shared/tree-checker.h
 create mode 100644 kernel-shared/tree-mod-log.h

-- 
2.40.0


             reply	other threads:[~2023-04-19 21:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 21:23 Josef Bacik [this message]
2023-04-19 21:23 ` [PATCH 01/18] btrfs-progs: sync and stub-out tree-mod-log.h Josef Bacik
2023-04-19 21:23 ` [PATCH 02/18] btrfs-progs: add btrfs_root_id helper Josef Bacik
2023-04-19 21:23 ` [PATCH 03/18] btrfs-progs: remove root argument from free_extent and inc_extent_ref Josef Bacik
2023-04-19 21:23 ` [PATCH 04/18] btrfs-progs: pass root_id for btrfs_free_tree_block Josef Bacik
2023-04-19 21:23 ` [PATCH 05/18] btrfs-progs: add a free_extent_buffer_stale helper Josef Bacik
2023-04-19 21:23 ` [PATCH 06/18] btrfs-progs: add btrfs_is_testing helper Josef Bacik
2023-04-19 21:23 ` [PATCH 07/18] btrfs-progs: add accounting_lock to btrfs_root Josef Bacik
2023-04-19 21:23 ` [PATCH 08/18] btrfs-progs: update read_tree_block to match the kernel definition Josef Bacik
2023-04-19 21:24 ` [PATCH 09/18] btrfs-progs: make reada_for_search static Josef Bacik
2023-04-19 21:24 ` [PATCH 10/18] btrfs-progs: sync btrfs_path fields with the kernel Josef Bacik
2023-04-19 21:24 ` [PATCH 11/18] btrfs-progs: update arguments of find_extent_buffer Josef Bacik
2023-04-19 21:24 ` [PATCH 12/18] btrfs-progs: add btrfs_readahead_node_child helper Josef Bacik
2023-04-19 21:24 ` [PATCH 13/18] btrfs-progs: add an atomic arg to btrfs_buffer_uptodate Josef Bacik
2023-04-19 21:24 ` [PATCH 14/18] btrfs-progs: add a btrfs_read_extent_buffer helper Josef Bacik
2023-04-19 21:24 ` [PATCH 15/18] btrfs-progs: add BTRFS_STRIPE_LEN_SHIFT definition Josef Bacik
2023-04-19 21:24 ` [PATCH 16/18] btrfs-progs: rename btrfs_check_* to __btrfs_check_* Josef Bacik
2023-04-19 21:24 ` [PATCH 17/18] btrfs-progs: change btrfs_check_chunk_valid to match the kernel version Josef Bacik
2023-04-19 21:24 ` [PATCH 18/18] btrfs-progs: sync tree-checker.[ch] Josef Bacik

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.1681939316.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 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.