Skip to content

btrfs: use refcount_t type for extent buffers and cleanups

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: reorganize logic at free_extent_buffer() for better readabilityfs/btrfs/extent_io.c+6 -31 reply
2/3btrfs: add comment for optimization in free_extent_buffer()fs/btrfs/extent_io.c+1 -00 replies
3/3btrfs: use refcount_t type for the extent buffer reference counterfs/btrfs/ctree.c fs/btrfs/extent-tree.c fs/btrfs/extent_io.c +8 more+42 -430 replies

Reviews trailers per patch

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

PatchBoris BurkovDavid Sterba
SeriesR-b R-b
1/3
2/3
3/3

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/3] btrfs: use refcount_t type for extent buffers and cleanups

From: Filipe Manana <[email protected]>

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(-)
Signature · 1 line
2.47.2