Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: delayed_ref parameter cleanup
@ 2022-12-12  9:02 Johannes Thumshirn
  2022-12-12  9:02 ` [PATCH 1/4] btrfs: drop unused trans parameter of drop_delayed_ref Johannes Thumshirn
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Johannes Thumshirn @ 2022-12-12  9:02 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Johannes Thumshirn

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
-- 
2.38.1


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

end of thread, other threads:[~2022-12-20 18:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12  9:02 [PATCH 0/4] btrfs: delayed_ref parameter cleanup Johannes Thumshirn
2022-12-12  9:02 ` [PATCH 1/4] btrfs: drop unused trans parameter of drop_delayed_ref Johannes Thumshirn
2022-12-12  9:21   ` Qu Wenruo
2022-12-12  9:02 ` [PATCH 2/4] btrfs: remove trans parameter of merge_ref Johannes Thumshirn
2022-12-12  9:22   ` Qu Wenruo
2022-12-12  9:02 ` [PATCH 3/4] btrfs: drop trans parameter of insert_delayed_ref Johannes Thumshirn
2022-12-12  9:22   ` Qu Wenruo
2022-12-12  9:02 ` [PATCH 4/4] btrfs: directly pass in fs_info to btrfs_merge_delayed_refs Johannes Thumshirn
2022-12-12  9:25   ` Qu Wenruo
2022-12-12 19:05 ` [PATCH 0/4] btrfs: delayed_ref parameter cleanup Josef Bacik
2022-12-20  9:17 ` Johannes Thumshirn
2022-12-20 18:33   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox