Skip to content

btrfs: delayed_ref parameter cleanup

Johannes Thumshirn linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: drop unused trans parameter of drop_delayed_reffs/btrfs/delayed-ref.c+4 -51 reply
2/4btrfs: remove trans parameter of merge_reffs/btrfs/delayed-ref.c+2 -31 reply
3/4btrfs: drop trans parameter of insert_delayed_reffs/btrfs/delayed-ref.c+3 -41 reply
4/4btrfs: directly pass in fs_info to btrfs_merge_delayed_refsfs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h fs/btrfs/extent-tree.c+4 -51 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchQu WenruoJosef Bacik
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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 0/4] btrfs: delayed_ref parameter cleanup

While looking at the delayed_ref code for the RST series I've discovered, that drop_delayed_ref is using a btrfs_trans_handle without even using it. After having it removed I've identified more uses of the trans in the callchain that are unused after drop_delayed_ref got rid of it.

Johannes Thumshirn (4):
btrfs: drop unused trans parameter of drop_delayed_ref
btrfs: remove trans parameter of merge_ref
btrfs: drop trans parameter of insert_delayed_ref
btrfs: directly pass in fs_info to btrfs_merge_delayed_refs

 fs/btrfs/delayed-ref.c | 24 ++++++++++--------------
 fs/btrfs/delayed-ref.h |  2 +-
 fs/btrfs/extent-tree.c |  4 ++--
 3 files changed, 13 insertions(+), 17 deletions(-)

base-commit: b7af0635c87ff78d6bd523298ab7471f9ffd3ce5

Signature · 1 line
2.38.1