public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* convert newly added dm-zone code to the atomic queue commit API v2
@ 2024-05-27  8:04 Christoph Hellwig
  2024-05-27  8:04 ` [PATCH 1/3] dm: move setting zoned_enabled to dm_table_set_restrictions Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Christoph Hellwig @ 2024-05-27  8:04 UTC (permalink / raw)
  To: Jens Axboe, Mike Snitzer, Mikulas Patocka
  Cc: Damien Le Moal, dm-devel, linux-block

Hi all,

the new dm-zone code added by Damien in 6.10-rc directly modifies the
queue limits instead of using the commit-style API that dm has used
forever and that the block layer adopted now, and thus can only run
after all the other changes have been commited.  This is quite a land
mine and can be easily fixed.

Mike said he's fine with merging this through the block tree as the
dm-zone changes came in through that.

Changes since v1:
 - fix an error return
 - remove a superflous queue_limits_update_cancel call

Diffstat:
 dm-table.c |   15 +++++-------
 dm-zone.c  |   72 +++++++++++++++++++++++++++----------------------------------
 dm.h       |    3 +-
 3 files changed, 41 insertions(+), 49 deletions(-)

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

end of thread, other threads:[~2024-05-27 11:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  8:04 convert newly added dm-zone code to the atomic queue commit API v2 Christoph Hellwig
2024-05-27  8:04 ` [PATCH 1/3] dm: move setting zoned_enabled to dm_table_set_restrictions Christoph Hellwig
2024-05-27 11:34   ` Johannes Thumshirn
2024-05-27  8:04 ` [PATCH 2/3] dm: remove dm_check_zoned Christoph Hellwig
2024-05-27 11:34   ` Johannes Thumshirn
2024-05-27  8:04 ` [PATCH 3/3] dm: make dm_set_zones_restrictions work on the queue limits Christoph Hellwig
2024-05-27 11:35   ` Johannes Thumshirn
2024-05-27 11:54 ` convert newly added dm-zone code to the atomic queue commit API v2 Christoph Hellwig

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