clean up zoned device information v2
Christoph Hellwig
hch at lst.de
Wed Jul 6 00:03:34 PDT 2022
Hi all,
this cleans up the block layer zoned device information APIs and
moves all fields currently in the request_queue to the gendisk as
they aren't relevant for passthrough I/O.
Changes since v1:
- drop the blk-zoned/nvmet code sharing for now
- use a helper a little earlier
- various spelling fixes
Diffstat:
block/bio.c | 2
block/blk-core.c | 13 +--
block/blk-merge.c | 2
block/blk-mq-debugfs-zoned.c | 6 -
block/blk-mq.c | 2
block/blk-mq.h | 18 ++---
block/blk-settings.c | 11 +--
block/blk-sysfs.c | 8 --
block/blk-zoned.c | 85 ++++++++++++------------
block/blk.h | 8 +-
block/genhd.c | 1
block/ioctl.c | 2
block/partitions/core.c | 2
drivers/block/null_blk/zoned.c | 8 +-
drivers/md/dm-table.c | 6 -
drivers/md/dm-zone.c | 86 +++++++++++-------------
drivers/md/dm-zoned-target.c | 25 +++----
drivers/md/dm.c | 2
drivers/nvme/host/multipath.c | 2
drivers/nvme/host/zns.c | 6 -
drivers/nvme/target/zns.c | 14 +--
drivers/scsi/sd.c | 6 -
drivers/scsi/sd_zbc.c | 10 +-
fs/zonefs/super.c | 17 ++--
include/linux/blk-mq.h | 8 +-
include/linux/blkdev.h | 144 +++++++++++++++--------------------------
26 files changed, 227 insertions(+), 267 deletions(-)
More information about the Linux-nvme
mailing list