linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Cleanup short int types in block group reserve
@ 2022-06-24 14:01 David Sterba
  2022-06-24 14:01 ` [PATCH 1/3] btrfs: switch btrfs_block_rsv::full to bool David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: David Sterba @ 2022-06-24 14:01 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-07 18:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 14:01 [PATCH 0/3] Cleanup short int types in block group reserve David Sterba
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).