diff mbox series

[1/1] scsi: storvsc: Always use blk-mq

Message ID 1545243282-10573-1-git-send-email-mikelley@microsoft.com (mailing list archive)
State Rejected
Headers show
Series [1/1] scsi: storvsc: Always use blk-mq | expand

Commit Message

Michael Kelley (LINUX) Dec. 19, 2018, 6:40 p.m. UTC
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.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
---
 drivers/scsi/storvsc_drv.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Martin K. Petersen Dec. 20, 2018, 2:51 a.m. UTC | #1
Michael,

> 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.
diff mbox series

Patch

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index f03dc03..3dbbd14 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -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 {