Skip to content

btrfs: item helper prep work for snapshot_id

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12btrfs: move btrfs_node_key into ctree.hfs/btrfs/ctree.h fs/btrfs/struct-funcs.c+7 -100 replies
2/12btrfs: add a btrfs_node_key_ptr helper, convert the usersfs/btrfs/ctree.h+19 -292 replies
3/12btrfs: introduce *_leaf_data helpersfs/btrfs/ctree.c+46 -380 replies
4/12btrfs: make BTRFS_LEAF_DATA_OFFSET take an eb argfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent_io.c+11 -80 replies
5/12btrfs: pass eb to the node_key_ptr helpersfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent_io.c +1 more+28 -260 replies
6/12btrfs: pass eb to the item_nr_offset helperfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent_io.c +1 more+32 -291 reply
7/12btrfs: add snapshot_id to the btrfs_header and related defsfs/btrfs/ctree.h include/uapi/linux/btrfs_tree.h+20 -00 replies
8/12btrfs: move the header SETGET funcsfs/btrfs/ctree.h+51 -520 replies
9/12btrfs: move the super SETGET funcsfs/btrfs/ctree.h+79 -790 replies
10/12btrfs: move BTRFS_LEAF related definitions below super SETGET funcsfs/btrfs/ctree.h+34 -350 replies
11/12btrfs: const-ify fs_info for the compat flag handlersfs/btrfs/ctree.h+2 -20 replies
12/12btrfs: use _offset helpers instead of offsetof in generic_bin_searchfs/btrfs/ctree.c+2 -21 reply

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNikolay Borisov
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] btrfs: item helper prep work for snapshot_id

Hello,

I sent a bunch of patches previously to rework a lot of our helpers in preparation of adding the snapshot_id to the btrfs_header. I missed a few important areas with those patches, so here's the remaining work to make it easier to expand the size of the btrfs_header. These are general fixups and cleanups that don't rely on the extent tree v2 work. Thanks,

Josef

Josef Bacik (12):
btrfs: move btrfs_node_key into ctree.h
btrfs: add a btrfs_node_key_ptr helper, convert the users
btrfs: introduce *_leaf_data helpers
btrfs: make BTRFS_LEAF_DATA_OFFSET take an eb arg
btrfs: pass eb to the node_key_ptr helpers
btrfs: pass eb to the item_nr_offset helper
btrfs: add snapshot_id to the btrfs_header and related defs
btrfs: move the header SETGET funcs
btrfs: move the super SETGET funcs
btrfs: move BTRFS_LEAF related definitions below super SETGET funcs
btrfs: const-ify fs_info for the compat flag handlers
btrfs: use _offset helpers instead of offsetof in generic_bin_search

 fs/btrfs/ctree.c                | 151 ++++++------
 fs/btrfs/ctree.h                | 411 +++++++++++++++++---------------
 fs/btrfs/extent_io.c            |   6 +-
 fs/btrfs/struct-funcs.c         |   8 -
 fs/btrfs/tree-checker.c         |   4 +-
 fs/btrfs/tree-mod-log.c         |   4 +-
 include/uapi/linux/btrfs_tree.h |   1 +
 7 files changed, 303 insertions(+), 282 deletions(-)
Signature · 1 line
2.26.3