Skip to content

Cleanup short int types in block group reserve

David Sterba linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- fix true/false typo in first patch
- use named enum for block group type

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: switch btrfs_block_rsv::full to boolfs/btrfs/block-rsv.c fs/btrfs/block-rsv.h fs/btrfs/delayed-ref.c+9 -120 replies
2/3btrfs: switch btrfs_block_rsv::failfast to boolfs/btrfs/block-rsv.h fs/btrfs/file.c fs/btrfs/inode.c+4 -40 replies
3/3btrfs: use enum for btrfs_block_rsv::typefs/btrfs/block-rsv.c fs/btrfs/block-rsv.h+9 -80 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnand JainJohannes Thumshirn
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Cleanup short int types in block group reserve

Using the short type in btrfs_block_rsv is not needed for bool indicators and we can make the structure smaller.

v2:
- fix true/false typo in first patch
- use named enum for block group type

David Sterba (3):
btrfs: switch btrfs_block_rsv::full to bool
btrfs: switch btrfs_block_rsv::failfast to bool
btrfs: use enum for btrfs_block_rsv::type

 fs/btrfs/block-rsv.c   | 21 +++++++++------------
 fs/btrfs/block-rsv.h   | 15 ++++++++-------
 fs/btrfs/delayed-ref.c |  4 ++--
 fs/btrfs/file.c        |  2 +-
 fs/btrfs/inode.c       |  4 ++--
 5 files changed, 22 insertions(+), 24 deletions(-)
Signature · 1 line
2.36.1