diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-23 17:04:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:38:35 -0700 |
commit | 0c5bcc92d94a8f578ab2b06c1274e076cc8aecd3 (patch) | |
tree | 30139bab0795108a04306b706a351751be57fd89 /drivers/reset/reset-brcmstb.c | |
parent | a4561f9fccc57a5fd56c53e21514f63825d8ace7 (diff) |
blk-mq: simplify the plug handling in blk_mq_submit_bio
blk_mq_submit_bio has two different plug cases, one that uses full
plugging and a limited plugging one.
The limited plugging case is only used for a corner case that does
not matter in real life:
- no ->commit_rqs (so not NVMe)
- no shared tags (so not SCSI)
- not rotational (so no old disk or floppy driver)
- must have multiple queues (so no eMMC)
Remove the limited merging case and all the related junk to simplify
blk_mq_submit_bio and the functions called from it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211123160443.1315598-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/reset/reset-brcmstb.c')
0 files changed, 0 insertions, 0 deletions