Skip to contentSkip to conversation

scsi: storvsc: Always use blk-mq

PATCH In review Michael Kelley 2 participants 2 messages Dec 19, 2018 – Dec 20, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: storvsc: Always use blk-mq

With high IOPS storage being increasingly prevalent for guests on Hyper-V and in Azure, make blk-mq the default so that the full performance of the storage can be realized without having to tweak other configuration settings.

---
 drivers/scsi/storvsc_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/storvsc_drv.c +1 -0
index f03dc03..3dbbd14 100644
@@ -1703,6 +1703,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 	.dma_boundary =		PAGE_SIZE-1,
 	.no_write_same =	1,
 	.track_queue_depth =	1,
+	.force_blk_mq =		1,
 };
 
 enum {
Signature · 1 line
1.8.3.1
#1 lore raw

Michael,

Quoted 4 lines

With high IOPS storage being increasingly prevalent for guests on Hyper-V and in Azure, make blk-mq the default so that the full performance of the storage can be realized without having to tweak other configuration settings.

The legacy I/O path will be gone in 4.21 so this patch isn't needed.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering