mbox series

[00/10] Cleanups and struct packing

Message ID cover.1694126893.git.dsterba@suse.com (mailing list archive)
Headers show
Series Cleanups and struct packing | expand

Message

David Sterba Sept. 7, 2023, 11:09 p.m. UTC
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(-)