ensure each gendisk always has a request_queue reference v2

Christoph Hellwig hch at lst.de
Mon Aug 16 06:19:01 PDT 2021


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.

Changes since v1:
 - rebased to the latest for-5.15/block tree to fix minor conflicts
 - add a new patch to fix to fix a queue to disk look issue exposed
   by the bdi move

Diffstat:
 block/bfq-iosched.c             |    2 -
 block/blk-cgroup.c              |    4 +--
 block/blk-mq.c                  |    8 +++---
 block/blk-settings.c            |    8 +++---
 block/blk-sysfs.c               |   13 ++++------
 block/blk-wbt.c                 |   10 ++++----
 block/genhd.c                   |   32 ++++++++++++--------------
 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/blkdev.h          |    5 +---
 include/linux/genhd.h           |   30 +++---------------------
 include/trace/events/kyber.h    |    6 ++--
 18 files changed, 98 insertions(+), 166 deletions(-)



More information about the Linux-nvme mailing list