block: remove the ->rq_disk field in struct request
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 12:18:00 +0000 (13:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commitf3fa33acca9f0058157214800f68b10d8e71ab7a
treee4fd1c98cbce9424445c1ac61ccd2ae08afd15da
parent79bb1dbd12005f2143670a9a4f13d91e64725717
block: remove the ->rq_disk field in struct request

Just use the disk attached to the request_queue instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20211126121802.2090656-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
28 files changed:
block/blk-flush.c
block/blk-mq.c
block/blk.h
drivers/block/amiflop.c
drivers/block/ataflop.c
drivers/block/floppy.c
drivers/block/null_blk/trace.h
drivers/block/paride/pcd.c
drivers/block/paride/pd.c
drivers/block/paride/pf.c
drivers/block/rnbd/rnbd-clt.c
drivers/block/sunvdc.c
drivers/md/dm-mpath.c
drivers/mmc/core/block.c
drivers/nvme/host/fault_inject.c
drivers/nvme/host/trace.h
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_logging.c
drivers/scsi/sd.c
drivers/scsi/sd_zbc.c
drivers/scsi/sr.c
drivers/scsi/virtio_scsi.c
drivers/usb/storage/transport.c
include/linux/blk-mq.h
include/scsi/scsi_cmnd.h
include/scsi/scsi_device.h
include/trace/events/block.h
kernel/trace/blktrace.c