Skip to content

Static inline cleanups

David Sterba linux-btrfs oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10btrfs: move balance args conversion helpers to volumes.cfs/btrfs/accessors.h fs/btrfs/volumes.c+38 -390 replies
2/10btrfs: open code btrfs_backref_iter_free()fs/btrfs/backref.h fs/btrfs/relocation.c+2 -90 replies
3/10btrfs: open code btrfs_backref_get_eb()fs/btrfs/backref.c fs/btrfs/backref.h+2 -100 replies
4/10btrfs: uninline some static inline helpers from backref.hfs/btrfs/backref.c fs/btrfs/backref.h+102 -920 replies
5/10btrfs: uninline btrfs_init_delayed_root()fs/btrfs/delayed-inode.c fs/btrfs/delayed-inode.h+12 -120 replies
6/10btrfs: drop static inline specifiers from tree-mod-log.cfs/btrfs/tree-mod-log.c+6 -70 replies
7/10btrfs: uninline some static inline helpers from tree-log.hfs/btrfs/tree-log.c fs/btrfs/tree-log.h+49 -450 replies
8/10btrfs: simplify conditions in btrfs_free_chunk_map()fs/btrfs/volumes.c fs/btrfs/volumes.h fs/btrfs/zoned.c+4 -42 replies
9/10btrfs: open code trivial btrfs_lru_cache_size()fs/btrfs/lru_cache.h fs/btrfs/send.c+3 -90 replies
10/10btrfs: uninline some static inline helpers from delayed-ref.hfs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h+72 -650 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Static inline cleanups

Historically there are many static inlines in headers that do not qualify as such, move them to .c. Some can be open coded.

David Sterba (10):
btrfs: move balance args conversion helpers to volumes.c
btrfs: open code btrfs_backref_iter_free()
btrfs: open code btrfs_backref_get_eb()
btrfs: uninline some static inline helpers from backref.h
btrfs: uninline btrfs_init_delayed_root()
btrfs: drop static inline specifiers from tree-mod-log.c
btrfs: uninline some static inline helpers from tree-log.h
btrfs: simplify conditions in btrfs_free_chunk_map()
btrfs: open code trivial btrfs_lru_cache_size()
btrfs: uninline some static inline helpers from delayed-ref.h

 fs/btrfs/accessors.h     |  39 -------------
 fs/btrfs/backref.c       |  94 +++++++++++++++++++++++++++++-
 fs/btrfs/backref.h       | 120 ++++-----------------------------------
 fs/btrfs/delayed-inode.c |  11 ++++
 fs/btrfs/delayed-inode.h |  13 +----
 fs/btrfs/delayed-ref.c   |  65 +++++++++++++++++++++
 fs/btrfs/delayed-ref.h   |  72 +++--------------------
 fs/btrfs/lru_cache.h     |   5 --
 fs/btrfs/relocation.c    |   3 +-
 fs/btrfs/send.c          |   7 +--
 fs/btrfs/tree-log.c      |  46 +++++++++++++++
 fs/btrfs/tree-log.h      |  48 +---------------
 fs/btrfs/tree-mod-log.c  |  13 ++---
 fs/btrfs/volumes.c       |  41 ++++++++++++-
 fs/btrfs/volumes.h       |   2 +-
 fs/btrfs/zoned.c         |   3 +-
 16 files changed, 290 insertions(+), 292 deletions(-)
Signature · 1 line
2.42.1