[PATCH v2 00/13] Improve handling of offline and read-only zones
Damien Le Moal <[email protected]> Fri, 7 Aug 2026 01:04:32 +0900
| Newsgroups | org.kernel.vger.linux-block |
|---|---|
| Message-ID | <[email protected]> |
Jens, This patch series refactor some zone related code and improves the caching iof zone information and the management of zone write plugs in preparation for fully supporting storage element depopulation. Most of the functional changes here are around the management of zone write plugs to better handle read-only and offline zones as these conditions can become more common with storage element being depopulated. Changes from v1: - Fixup error path change in patch 1 - Use WARN_ON_ONCE in patch 4 - Dropped patch 14 - Applied review tags Damien Le Moal (13): block: remove disk_free_zone_resources() block: refactor disk_revalidate_zone_resources() block: refactor disk_update_zone_resources() block: remember a zone type regardless of its condition block: refactor bdev_zone_is_seq() block: introduce disk_for_all_zone_wplugs() block: drop all zone write plugs on capacity changes block: propagate readonly and offline conditions to zone write plugs block: always treat offline and read-only zones as dead block: fail zone management operations to read-only and offline zones block: allow read-only and offline conventional zones block: simplify disk_zone_set_cond() block: flag zoned disks with GENHD_FL_NO_PART block/blk-core.c | 7 +- block/blk-zoned.c | 778 +++++++++++++++++++++++++---------------- block/blk.h | 6 + block/genhd.c | 7 + include/linux/blkdev.h | 2 +- 5 files changed, 486 insertions(+), 314 deletions(-) -- 2.55.0