Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 00/10] Cleanups and struct packing
Date: Fri,  8 Sep 2023 01:09:20 +0200	[thread overview]
Message-ID: <cover.1694126893.git.dsterba@suse.com> (raw)

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(-)

-- 
2.41.0


             reply	other threads:[~2023-09-07 23:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-07 23:09 David Sterba [this message]
2023-09-07 23:09 ` [PATCH 01/10] btrfs: move functions comments from qgroup.h to qgroup.c David Sterba
2023-09-07 23:47   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 02/10] btrfs: reformat remaining kdoc style comments David Sterba
2023-09-07 23:51   ` Qu Wenruo
2023-09-08  0:14     ` David Sterba
2023-09-07 23:09 ` [PATCH 03/10] btrfs: drop __must_check annotations David Sterba
2023-09-07 23:56   ` Qu Wenruo
2023-09-08  0:34     ` David Sterba
2023-09-08 12:33       ` David Sterba
2023-09-07 23:09 ` [PATCH 04/10] btrfs: reduce parameters of btrfs_pin_reserved_extent David Sterba
2023-09-07 23:57   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 05/10] btrfs: reduce parameters of btrfs_pin_extent_for_log_replay David Sterba
2023-09-07 23:57   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 06/10] btrfs: reduce arguments of helpers space accounting root item David Sterba
2023-09-07 23:59   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 07/10] btrfs: reduce size of prelim_ref::level David Sterba
2023-09-08  0:01   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 08/10] btrfs: reduce size and reorder compression members in struct btrfs_inode David Sterba
2023-09-08  0:02   ` Qu Wenruo
2023-09-07 23:09 ` [PATCH 09/10] btrfs: reduce size of struct btrfs_ref David Sterba
2023-09-08  0:06   ` Qu Wenruo
2023-09-08  0:46     ` David Sterba
2023-09-07 23:09 ` [PATCH 10/10] btrfs: move extent_buffer::lock_owner to debug section David Sterba
2023-09-08  0:11   ` Qu Wenruo
2023-09-08  0:56     ` David Sterba
2023-09-08  1:29       ` Qu Wenruo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1694126893.git.dsterba@suse.com \
    --to=dsterba@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox