All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs: use refcount_t type for extent buffers and cleanups
@ 2025-06-03 14:50 fdmanana
  2025-06-03 14:50 ` [PATCH 1/3] btrfs: reorganize logic at free_extent_buffer() for better readability fdmanana
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: fdmanana @ 2025-06-03 14:50 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

Switch from a bare atomic to refcount_t type to track extent buffer
reference count and a couple cleanups. Details in the change logs.

Filipe Manana (3):
  btrfs: reorganize logic at free_extent_buffer() for better readability
  btrfs: add comment for optimization in free_extent_buffer()
  btrfs: use refcount_t type for the extent buffer reference counter

 fs/btrfs/ctree.c             | 14 ++++-----
 fs/btrfs/extent-tree.c       |  2 +-
 fs/btrfs/extent_io.c         | 55 +++++++++++++++++++-----------------
 fs/btrfs/extent_io.h         |  2 +-
 fs/btrfs/fiemap.c            |  2 +-
 fs/btrfs/print-tree.c        |  2 +-
 fs/btrfs/qgroup.c            |  6 ++--
 fs/btrfs/relocation.c        |  4 +--
 fs/btrfs/tree-log.c          |  4 +--
 fs/btrfs/zoned.c             |  2 +-
 include/trace/events/btrfs.h |  2 +-
 11 files changed, 49 insertions(+), 46 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-06-03 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03 14:50 [PATCH 0/3] btrfs: use refcount_t type for extent buffers and cleanups fdmanana
2025-06-03 14:50 ` [PATCH 1/3] btrfs: reorganize logic at free_extent_buffer() for better readability fdmanana
2025-06-03 21:05   ` David Sterba
2025-06-03 14:50 ` [PATCH 2/3] btrfs: add comment for optimization in free_extent_buffer() fdmanana
2025-06-03 14:50 ` [PATCH 3/3] btrfs: use refcount_t type for the extent buffer reference counter fdmanana
2025-06-03 19:30 ` [PATCH 0/3] btrfs: use refcount_t type for extent buffers and cleanups Boris Burkov
2025-06-03 20:25 ` David Sterba

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.