Skip to content

Fixes for zoned mode

Naohiro Aota linux-btrfs linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Move the type fix patch to be the first one
- Fix the type of variable instead of casting
- Introduce #define's for the superblock zone locations and maximum zone size

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: zoned: use sector_t to get zone sectorsfs/btrfs/zoned.c+1 -11 reply
2/3btrfs: zoned: move superblock logging zone locationfs/btrfs/zoned.c+30 -72 replies
3/3btrfs: zoned: do not account freed region of read-only block group as zone_unusablefs/btrfs/free-space-cache.c+6 -10 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.

PatchJohannes Thumshirn
SeriesR-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] Fixes for zoned mode

These are fixes for zoned btrfs.

Patch 01 fixes the type of a zone sector variable.

Patch 02 moves the superblock location to address based.

Patch 03 fixes zone_unusable acconting when a block group is read-only.

v1 -> v2:
- Move the type fix patch to be the first one
- Fix the type of variable instead of casting
- Introduce #define's for the superblock zone locations and maximum zone size

Naohiro Aota (3):
btrfs: zoned: use sector_t to get zone sectors
btrfs: zoned: move superblock logging zone location
btrfs: zoned: do not account freed region of read-only block group as
zone_unusable

 fs/btrfs/free-space-cache.c |  7 ++++++-
 fs/btrfs/zoned.c            | 39 +++++++++++++++++++++++++++++--------
 2 files changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
2.30.1