linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ensure each gendisk always has a request_queue reference
@ 2021-08-12  7:46 Christoph Hellwig
  2021-08-12  7:46 ` [PATCH 1/8] nvme: use blk_mq_alloc_disk Christoph Hellwig
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Christoph Hellwig @ 2021-08-12  7:46 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Stefan Haberland, Jan Hoeppner, Martin K. Petersen, Doug Gilbert,
	Kai Mäkisara, Luis Chamberlain, linux-block, linux-nvme,
	linux-s390, linux-scsi

Hi Jens,

this is the final batch of the gendisk interface cleanup series.  This
remove the last uses of the legacy alloc_disk interface and ensures we
always have a request_queue reference for a gendisk.

Diffstat:
 block/blk-mq.c                  |    6 ++--
 block/genhd.c                   |   31 ++++++++++---------------
 drivers/nvme/host/core.c        |   33 ++++++++++----------------
 drivers/s390/block/dasd_genhd.c |    7 ++++-
 drivers/scsi/sd.c               |    6 +++-
 drivers/scsi/sg.c               |   32 +++++++-------------------
 drivers/scsi/sr.c               |    7 ++++-
 drivers/scsi/st.c               |   49 +++++++++-------------------------------
 drivers/scsi/st.h               |    2 -
 include/linux/blk-mq.h          |   10 ++------
 include/linux/genhd.h           |   30 +++---------------------
 11 files changed, 72 insertions(+), 141 deletions(-)

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

end of thread, other threads:[~2021-08-12 14:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12  7:46 ensure each gendisk always has a request_queue reference Christoph Hellwig
2021-08-12  7:46 ` [PATCH 1/8] nvme: use blk_mq_alloc_disk Christoph Hellwig
2021-08-12  7:46 ` [PATCH 2/8] st: do not allocate a gendisk Christoph Hellwig
2021-08-12  7:46 ` [PATCH 3/8] sg: " Christoph Hellwig
2021-08-12  7:46 ` [PATCH 4/8] block: cleanup the lockdep handling in *alloc_disk Christoph Hellwig
2021-08-12  7:46 ` [PATCH 5/8] block: remove alloc_disk and alloc_disk_node Christoph Hellwig
2021-08-12  7:46 ` [PATCH 6/8] block: remove the minors argument to __alloc_disk_node Christoph Hellwig
2021-08-12 14:17   ` Stefan Haberland
2021-08-12  7:46 ` [PATCH 7/8] block: pass a request_queue to __blk_alloc_disk Christoph Hellwig
2021-08-12  7:46 ` [PATCH 8/8] block: hold a request_queue reference for the lifetime of struct gendisk Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).