public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix DM zone resource limits stacking
@ 2024-06-05  6:39 Damien Le Moal
  2024-06-05  6:39 ` [PATCH v3 1/2] block: Imporve checks on zone resource limits Damien Le Moal
  2024-06-05  6:39 ` [PATCH v3 2/2] dm: Improve zone resource limits handling Damien Le Moal
  0 siblings, 2 replies; 7+ messages in thread
From: Damien Le Moal @ 2024-06-05  6:39 UTC (permalink / raw)
  To: Jens Axboe, linux-block, dm-devel, Mike Snitzer, Mikulas Patocka
  Cc: Christoph Hellwig, Benjamin Marzinski

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 v2:
 - Modify patch 1 to return an error for the case where the max open
   zones limit is greater than the max active zones limit.
 - Modify patch 2 to avoid duplicated actions on the limits and to
   remove warnings for unusual zone 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 |   8 ++
 block/blk-zoned.c    |  17 +++-
 drivers/md/dm-zone.c | 220 +++++++++++++++++++++++++++++++++++--------
 3 files changed, 205 insertions(+), 40 deletions(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-05  6:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05  6:39 [PATCH v3 0/2] Fix DM zone resource limits stacking Damien Le Moal
2024-06-05  6:39 ` [PATCH v3 1/2] block: Imporve checks on zone resource limits Damien Le Moal
2024-06-05  6:45   ` Christoph Hellwig
2024-06-05  6:46     ` Damien Le Moal
2024-06-05  6:39 ` [PATCH v3 2/2] dm: Improve zone resource limits handling Damien Le Moal
2024-06-05  6:49   ` Christoph Hellwig
2024-06-05  6:55     ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox