move all struct request releated code out of blk-core.c

Christoph Hellwig hch at lst.de
Mon Oct 25 00:05:05 PDT 2021


Hi Jens,

this series (against the for-5.16/passthrough-flag branch) removes the
remaining struct request related code from blk-core.c and cleans up a
few related bits around that.

Diffstat:
 b/block/Makefile                     |    2 
 b/block/blk-core.c                   |  362 ----------------------
 b/block/blk-mq.c                     |  573 +++++++++++++++++++++++++++++------
 b/block/blk-mq.h                     |    3 
 b/block/blk.h                        |   33 --
 b/drivers/block/paride/pd.c          |    4 
 b/drivers/block/pktcdvd.c            |    2 
 b/drivers/block/virtio_blk.c         |    4 
 b/drivers/md/dm-mpath.c              |    4 
 b/drivers/mmc/core/block.c           |   20 -
 b/drivers/mtd/mtd_blkdevs.c          |   10 
 b/drivers/mtd/ubi/block.c            |    6 
 b/drivers/scsi/scsi_bsg.c            |    2 
 b/drivers/scsi/scsi_error.c          |    2 
 b/drivers/scsi/scsi_ioctl.c          |    4 
 b/drivers/scsi/scsi_lib.c            |   46 ++
 b/drivers/scsi/sg.c                  |    6 
 b/drivers/scsi/sr.c                  |    2 
 b/drivers/scsi/st.c                  |    4 
 b/drivers/scsi/ufs/ufshcd.c          |   20 -
 b/drivers/scsi/ufs/ufshpb.c          |    8 
 b/drivers/target/target_core_pscsi.c |    4 
 b/include/linux/blk-mq.h             |   16 
 block/blk-exec.c                     |  116 -------
 24 files changed, 597 insertions(+), 656 deletions(-)



More information about the linux-mtd mailing list