All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] btrfs-progs: more prep work for syncing ctree.c
@ 2023-04-19 21:23 Josef Bacik
  2023-04-19 21:23 ` [PATCH 01/18] btrfs-progs: sync and stub-out tree-mod-log.h Josef Bacik
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Josef Bacik @ 2023-04-19 21:23 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

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


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

end of thread, other threads:[~2023-04-19 21:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 21:23 [PATCH 00/18] btrfs-progs: more prep work for syncing ctree.c Josef Bacik
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

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.