public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Improve checks in blk_revalidate_disk_zones()
@ 2023-06-29  6:25 Damien Le Moal
  2023-06-29  6:25 ` [PATCH 1/5] scsi: sd_zbc: Set zone limits before revalidating zones Damien Le Moal
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Damien Le Moal @ 2023-06-29  6:25 UTC (permalink / raw)
  To: linux-block, Jens Axboe, linux-nvme, Christoph Hellwig,
	Keith Busch, linux-scsi, Martin K . Petersen

This series slightly modifies the 4 block device drivers that support
zoned block devices to ensure that they all call
blk_revalidate_disk_zones() with the zone size and max zone append
limits set. This is done in the first 4 patches.

With these changes, the last patch improves blk_revalidate_disk_zones()
to better check a zoned device zones and the device limits.

Damien Le Moal (5):
  scsi: sd_zbc: Set zone limits before revalidating zones
  nvme: zns: Set zone limits before revalidating zones
  block: nullblk: Set zone limits before revalidating zones
  block: virtio_blk: Set zone limits before revalidating zones
  block: improve checks in blk_revalidate_disk_zones()

 block/blk-zoned.c              | 99 +++++++++++++++++++++-------------
 drivers/block/null_blk/zoned.c | 21 +++-----
 drivers/block/virtio_blk.c     | 35 ++++++------
 drivers/nvme/host/zns.c        |  9 ++--
 drivers/scsi/sd_zbc.c          | 12 ++---
 5 files changed, 96 insertions(+), 80 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-06-29 17:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29  6:25 [PATCH 0/5] Improve checks in blk_revalidate_disk_zones() Damien Le Moal
2023-06-29  6:25 ` [PATCH 1/5] scsi: sd_zbc: Set zone limits before revalidating zones Damien Le Moal
2023-06-29  6:25 ` [PATCH 2/5] nvme: zns: " Damien Le Moal
2023-06-29  6:26 ` [PATCH 3/5] block: nullblk: " Damien Le Moal
2023-06-29  6:26 ` [PATCH 4/5] block: virtio_blk: " Damien Le Moal
2023-06-29  6:26 ` [PATCH 5/5] block: improve checks in blk_revalidate_disk_zones() Damien Le Moal
2023-06-29 17:27 ` [PATCH 0/5] Improve " Bart Van Assche

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