mbox series

[v2,0/2] Fix DM zone resource limits stacking

Message ID 20240605022445.105747-1-dlemoal@kernel.org (mailing list archive)
Headers show
Series Fix DM zone resource limits stacking | expand

Message

Damien Le Moal June 5, 2024, 2:24 a.m. UTC
This is V2 of the patch 4/4 of the series "Zone write plugging and DM
zone fixes". This patch fixes DM zone resource limits stacking (max open
zones and max active zones limits). Patch 1 is new and is added to help
catch problems and eventual regressions of the handling of these limits.

Changes from v1:
 - Added patch 1
 - Modified patch 2 to not cap the limits for a target with the number
   of sequential zones mapped but rather to use the device limits as is
   when more zones than the limits are mapped and 0 otherwise (no
   limits).

Damien Le Moal (2):
  block: Imporve checks on zone resource limits
  dm: Improve zone resource limits handling

 block/blk-settings.c |   4 +
 block/blk-zoned.c    |   5 +
 drivers/md/dm-zone.c | 220 +++++++++++++++++++++++++++++++++++--------
 3 files changed, 192 insertions(+), 37 deletions(-)

Comments

Damien Le Moal June 5, 2024, 2:26 a.m. UTC | #1
On 6/5/24 11:24, Damien Le Moal wrote:
> This is V2 of the patch 4/4 of the series "Zone write plugging and DM
> zone fixes". This patch fixes DM zone resource limits stacking (max open
> zones and max active zones limits). Patch 1 is new and is added to help
> catch problems and eventual regressions of the handling of these limits.

I forgot to mention that I am working with Shin'ichiro to add blktests cases to
extend zbd test group coverage to DM zone resource limits.