btrfs: zoned: limit active zones to max_open_zones
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v23 patches 5 repliesSuperseded
- v13 patches 7 repliesSuperseded
Changes from the cover letter
- v3:
- Added patch 2 to address WARN added by patch 4
- v2: https://lore.kernel.org/linux-btrfs/[email protected]/T/
- Refine commit message and add code comment to descrive the WARN condition.
- Introduce and use BTRFS_DEFAULT_MAX_ACTIVE_ZONES (= 128).
- v1: https://lore.kernel.org/linux-btrfs/[email protected]/T/
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: zoned: do not select metadata BG as finish targetfs/ | +1 | 0 replies | |
| 2/4 | btrfs: zoned: fix data relocation block group reservationfs/ | +47 | 1 reply | |
| 3/4 | btrfs: zoned: fix write time activation failure for metadata block groupfs/ | +9 | 0 replies | |
| 4/4 | btrfs: zoned: limit active zones to max_open_zonesfs/ | +7 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Damien Le Moal | Johannes Thumshirn |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] btrfs: zoned: limit active zones to max_open_zones
When there is no active zone limit, we can technically write into any number of zones at the same time. However, exceeding the max open zones can degrade performance. To prevent this, this series set the max_active_zones to bdev_max_open_zones() if there is no active zone limit.
Using max_open_zones as an active zone limit enables the active zone tracking and enforcement on SMR too. The revealed some bugs on the active zone tracking. This series also includes the fixes for them.
Changes:
- v3:
- Added patch 2 to address WARN added by patch 4
- v2: https://lore.kernel.org/linux-btrfs/[email protected]/T/
- Refine commit message and add code comment to descrive the WARN condition.
- Introduce and use BTRFS_DEFAULT_MAX_ACTIVE_ZONES (= 128).
- v1: https://lore.kernel.org/linux-btrfs/[email protected]/T/
Naohiro Aota (4):
btrfs: zoned: do not select metadata BG as finish target
btrfs: zoned: fix data relocation block group reservation
btrfs: zoned: fix write time activation failure for metadata block
group
btrfs: zoned: limit active zones to max_open_zones
fs/btrfs/zoned.c | 78 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 64 insertions(+), 14 deletions(-)
Signature · 1 line
2.50.1