* [PATCH 1/1] scsi: storvsc: Always use blk-mq
@ 2018-12-19 18:40 Michael Kelley
2018-12-20 2:51 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Michael Kelley @ 2018-12-19 18:40 UTC (permalink / raw)
To: KY Srinivasan, Stephen Hemminger, martin.petersen, Long Li,
James.Bottomley, emilne, devel, linux-kernel, linux-scsi
Cc: Michael Kelley
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(+)
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 {
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] scsi: storvsc: Always use blk-mq
2018-12-19 18:40 [PATCH 1/1] scsi: storvsc: Always use blk-mq Michael Kelley
@ 2018-12-20 2:51 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2018-12-20 2:51 UTC (permalink / raw)
To: Michael Kelley
Cc: KY Srinivasan, Stephen Hemminger, martin.petersen, Long Li,
James.Bottomley, emilne, devel, linux-kernel, linux-scsi
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.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-20 2:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 18:40 [PATCH 1/1] scsi: storvsc: Always use blk-mq Michael Kelley
2018-12-20 2:51 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).