From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/3] Cleanup short int types in block group reserve
Date: Fri, 24 Jun 2022 16:01:34 +0200 [thread overview]
Message-ID: <cover.1656079178.git.dsterba@suse.com> (raw)
Using the short type in btrfs_block_rsv is not needed for bool
indicators and we can make the structure smaller.
David Sterba (3):
btrfs: switch btrfs_block_rsv::full to bool
btrfs: switch btrfs_block_rsv::failfast to bool
btrfs: use u8 type for btrfs_block_rsv::type
fs/btrfs/block-rsv.c | 22 +++++++++-------------
fs/btrfs/block-rsv.h | 14 +++++++-------
fs/btrfs/delayed-ref.c | 4 ++--
fs/btrfs/file.c | 2 +-
fs/btrfs/inode.c | 4 ++--
5 files changed, 21 insertions(+), 25 deletions(-)
--
2.36.1
next reply other threads:[~2022-06-24 14:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 14:01 David Sterba [this message]
2022-06-24 14:01 ` [PATCH 1/3] btrfs: switch btrfs_block_rsv::full to bool David Sterba
2022-06-24 17:12 ` Antonio Pérez
2022-07-07 18:46 ` David Sterba
2022-06-24 14:01 ` [PATCH 2/3] btrfs: switch btrfs_block_rsv::failfast " David Sterba
2022-06-27 6:48 ` Johannes Thumshirn
2022-06-24 14:01 ` [PATCH 3/3] btrfs: use u8 type for btrfs_block_rsv::type David Sterba
2022-06-27 6:51 ` Johannes Thumshirn
2022-06-27 16:40 ` David Sterba
2022-06-28 7:15 ` Johannes Thumshirn
2022-07-07 18:52 ` David Sterba
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.1656079178.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.