Skip to content

Cleanups and struct packing

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10btrfs: move functions comments from qgroup.h to qgroup.cfs/btrfs/qgroup.c fs/btrfs/qgroup.h+71 -761 reply
2/10btrfs: reformat remaining kdoc style commentsfs/btrfs/ctree.c fs/btrfs/delayed-inode.c fs/btrfs/delayed-ref.c +15 more+62 -512 replies
3/10btrfs: drop __must_check annotationsfs/btrfs/extent-tree.h fs/btrfs/relocation.c fs/btrfs/root-tree.h+4 -63 replies
4/10btrfs: reduce parameters of btrfs_pin_reserved_extentfs/btrfs/extent-tree.c fs/btrfs/extent-tree.h fs/btrfs/tree-log.c+8 -71 reply
5/10btrfs: reduce parameters of btrfs_pin_extent_for_log_replayfs/btrfs/extent-tree.c fs/btrfs/extent-tree.h fs/btrfs/tree-log.c+7 -101 reply
6/10btrfs: reduce arguments of helpers space accounting root itemfs/btrfs/ctree.c+11 -121 reply
7/10btrfs: reduce size of prelim_ref::levelfs/btrfs/backref.h+1 -11 reply
8/10btrfs: reduce size and reorder compression members in struct btrfs_inodefs/btrfs/btrfs_inode.h+10 -101 reply
9/10btrfs: reduce size of struct btrfs_reffs/btrfs/delayed-ref.h+12 -62 replies
10/10btrfs: move extent_buffer::lock_owner to debug sectionfs/btrfs/extent-tree.c fs/btrfs/extent_io.h fs/btrfs/locking.c+37 -143 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchQu Wenruo
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10
10/10R-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 00/10] Cleanups and struct packing

A few cleanups in comments and size reduction of several structures.

- btrfs_inode 1112 -> 1104
- btrfs_ref 64 -> 56
- extent_buffer 240 -> 232
- prelim_ref 88 -> 80

David Sterba (10):
btrfs: move functions comments from qgroup.h to qgroup.c
btrfs: reformat remaining kdoc style comments
btrfs: drop __must_check annotations
btrfs: reduce parameters of btrfs_pin_reserved_extent
btrfs: reduce parameters of btrfs_pin_extent_for_log_replay
btrfs: reduce arguments of helpers space accounting root item
btrfs: reduce size of prelim_ref::level
btrfs: reduce size and reorder compression members in struct
btrfs_inode
btrfs: reduce size of struct btrfs_ref
btrfs: move extent_buffer::lock_owner to debug section

 fs/btrfs/backref.h       |  2 +-
 fs/btrfs/btrfs_inode.h   | 20 +++++------
 fs/btrfs/ctree.c         | 27 +++++++-------
 fs/btrfs/delayed-inode.c |  6 ++--
 fs/btrfs/delayed-ref.c   |  3 +-
 fs/btrfs/delayed-ref.h   | 18 ++++++----
 fs/btrfs/disk-io.c       | 11 +++---
 fs/btrfs/extent-tree.c   | 56 ++++++++++++++++++-----------
 fs/btrfs/extent-tree.h   |  7 ++--
 fs/btrfs/extent_io.c     | 22 ++++++------
 fs/btrfs/extent_io.h     |  4 +--
 fs/btrfs/inode-item.c    |  2 +-
 fs/btrfs/inode.c         |  9 ++---
 fs/btrfs/locking.c       | 18 +++++++---
 fs/btrfs/messages.c      |  8 ++---
 fs/btrfs/qgroup.c        | 71 +++++++++++++++++++++++++++++++++++++
 fs/btrfs/qgroup.h        | 76 ----------------------------------------
 fs/btrfs/ref-verify.c    |  2 +-
 fs/btrfs/relocation.c    |  2 +-
 fs/btrfs/root-tree.c     |  6 ++--
 fs/btrfs/root-tree.h     |  6 ++--
 fs/btrfs/space-info.c    |  3 +-
 fs/btrfs/transaction.c   |  4 +--
 fs/btrfs/tree-log.c      | 16 ++++-----
 fs/btrfs/ulist.c         |  3 +-
 fs/btrfs/volumes.c       |  3 +-
 fs/btrfs/zstd.c          | 11 +++---
 27 files changed, 223 insertions(+), 193 deletions(-)
Signature · 1 line
2.41.0