public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* convert the SCSI ULDs to the atomic queue limits API
@ 2024-05-29  5:04 Christoph Hellwig
  2024-05-29  5:04 ` [PATCH 01/12] ubd: untagle discard vs write zeroes not support handling Christoph Hellwig
                   ` (11 more replies)
  0 siblings, 12 replies; 43+ messages in thread
From: Christoph Hellwig @ 2024-05-29  5:04 UTC (permalink / raw)
  To: Jens Axboe, Martin K. Petersen
  Cc: Richard Weinberger, Anton Ivanov, Johannes Berg, Josef Bacik,
	Ilya Dryomov, Dongsheng Yang, Roger Pau Monné, linux-um,
	linux-block, nbd, ceph-devel, xen-devel, linux-scsi

Hi all,

this series converts the SCSI upper level drivers to the atomic queue
limits API.

The first patch is a bug fix for ubd that later patches depend on and
might be worth picking up for 6.10.

The second patch changes the max_sectors calculation to take the optimal
I/O size into account so that sd, nbd and rbd don't have to mess with
the user max_sector value.  I'd love to see a careful review from the
nbd and rbd maintainers for this one!

The following patches clean up a few lose ends in the sd driver, and
then convert sd and sr to the atomic queue limits API.  The final
patches remove the now unused block APIs, and convert a few to be
specific to their now more narrow use case.

The patches are against Jens' block-6.10 tree.  Due to the amount of
block layer changes in here, and other that will depend on it, it
would be good if this could eventually be merged through the block
tree, or at least a shared branch between the SCSI and block trees.

Diffstat:
 arch/um/drivers/ubd_kern.c   |   10 +
 block/blk-settings.c         |  238 +------------------------------------------
 drivers/block/nbd.c          |    2 
 drivers/block/rbd.c          |    1 
 drivers/block/xen-blkfront.c |    4 
 drivers/scsi/sd.c            |  218 ++++++++++++++++++++-------------------
 drivers/scsi/sd.h            |    6 -
 drivers/scsi/sd_zbc.c        |   27 ++--
 drivers/scsi/sr.c            |   42 ++++---
 include/linux/blkdev.h       |   40 +++----
 10 files changed, 196 insertions(+), 392 deletions(-)

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

end of thread, other threads:[~2024-05-31  9:14 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29  5:04 convert the SCSI ULDs to the atomic queue limits API Christoph Hellwig
2024-05-29  5:04 ` [PATCH 01/12] ubd: untagle discard vs write zeroes not support handling Christoph Hellwig
2024-05-29  8:00   ` Damien Le Moal
2024-05-30 19:44   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 02/12] block: take io_opt and io_min into account for max_sectors Christoph Hellwig
2024-05-29  8:05   ` Damien Le Moal
2024-05-30 19:47   ` Bart Van Assche
2024-05-30 19:48   ` Ilya Dryomov
2024-05-31  5:54     ` Christoph Hellwig
2024-05-31  6:48       ` Ilya Dryomov
2024-05-31  6:56         ` Christoph Hellwig
2024-05-29  5:04 ` [PATCH 03/12] sd: simplify the ZBC case in provisioning_mode_store Christoph Hellwig
2024-05-29  8:07   ` Damien Le Moal
2024-05-30 19:48   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 04/12] sd: add a sd_disable_discard helper Christoph Hellwig
2024-05-29  8:10   ` Damien Le Moal
2024-05-30 19:50   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 05/12] sd: add a sd_disable_write_same helper Christoph Hellwig
2024-05-29  8:12   ` Damien Le Moal
2024-05-30 19:51   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 06/12] sd: simplify the disable case in sd_config_discard Christoph Hellwig
2024-05-29  8:13   ` Damien Le Moal
2024-05-30 20:02   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 07/12] sd: factor out a sd_discard_mode helper Christoph Hellwig
2024-05-29  8:14   ` Damien Le Moal
2024-05-29 21:11   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 08/12] sd: cleanup zoned queue limits initialization Christoph Hellwig
2024-05-29  8:18   ` Damien Le Moal
2024-05-30 20:07   ` Bart Van Assche
2024-05-29  5:04 ` [PATCH 09/12] sd: convert to the atomic queue limits API Christoph Hellwig
2024-05-29  8:23   ` Damien Le Moal
2024-05-30  9:16   ` John Garry
2024-05-31  5:48     ` Christoph Hellwig
2024-05-29  5:04 ` [PATCH 10/12] sr: " Christoph Hellwig
2024-05-29  8:25   ` Damien Le Moal
2024-05-29  5:04 ` [PATCH 11/12] block: remove unused " Christoph Hellwig
2024-05-29  8:28   ` Damien Le Moal
2024-05-30 20:08   ` Bart Van Assche
2024-05-31  9:14   ` John Garry
2024-05-29  5:04 ` [PATCH 12/12] block: add special APIs for run-time disabling of discard and friends Christoph Hellwig
2024-05-29  8:30   ` Damien Le Moal
2024-05-30 20:09   ` Bart Van Assche
2024-05-31  9:13   ` John Garry

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