Zone write plugging and DM zone fixes
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | null_blk: Do not allow runt zone with zone capacity smaller then zone sizedrivers/ | +11 | 4 replies | |
| 2/4 | block: Fix validation of zoned device with a runt zoneblock/ | +11 | 4 replies | |
| 3/4 | block: Fix zone write plugging handling of devices with a runt zoneblock/ include/ | +28 | 6 replies | |
| 4/4 | dm: Improve zone resource limits handlingdrivers/ | +177 | 7 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Niklas Cassel | Bart Van Assche | Christoph Hellwig | Hannes Reinecke |
|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | R-b |
| 2/4 | R-b | R-b | R-b | R-b |
| 3/4 | R-b | R-b | R-b | R-b |
| 4/4 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/4] Zone write plugging and DM zone fixes
The first patch of this series fixes null_blk to avoid weird zone configurations, namely, a zoned device with a last smaller zone with a zone capacity smaller than the zone size. Related to this, the next 2 patches fix the handling by zone write plugging of zoned devices with a last smaller zone. That was completely botched in the initial series.
Finally, the last patch addresses a long standing issue with zoned device-mapper devices: no zone resource limits (max open and max active zones limits) are not exposed to the user. This patch fixes that, allowing for the limits of the underlying target devices to be exposed with a warning for setups that lead to unreliable limits.
This is all based on block/block-6.10 branch and the last patch depends on Christoph's recent DM queue limits fixes. While the last patch is technically not really a fix for a recent bug, it would be nice to get it in this cycle as the change in the max open zone limits introduced with zone write plugging (i.e. expose a imax open zone limit of 128 for devices with no open zones limits) is confusing zonefs tests causing failures.
Damien Le Moal (4):
null_blk: Do not allow runt zone with zone capacity smaller then zone size
block: Fix validation of zoned device with a runt zone
block: Fix zone write plugging handling of devices with a runt zone
dm: Improve zone resource limits handling
block/blk-zoned.c | 47 ++++++-- drivers/block/null_blk/zoned.c | 11 ++ drivers/md/dm-zone.c | 214 +++++++++++++++++++++++++++------ include/linux/blkdev.h | 1 + 4 files changed, 225 insertions(+), 48 deletions(-)
Signature · 1 line
2.45.1