All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend 1/2] libata-scsi: set CmdQue bit in standard INQUIRY data to 1
@ 2016-07-12 13:29 tom.ty89
  0 siblings, 0 replies; only message in thread
From: tom.ty89 @ 2016-07-12 13:29 UTC (permalink / raw)
  To: tj; +Cc: linux-ide, linux-scsi, Tom Yan

From: Tom Yan <tom.ty89@gmail.com>

Avoid performance bottleneck when being SCSI pass-through'd to
virtual machines with other OSes (e.g. Windows) via virtio-scsi
and scsi-block in qemu.

Ref.: https://github.com/YanVugenfirer/kvm-guest-drivers-windows/issues/63

Signed-off-by: Tom Yan <tom.ty89@gmail.com>

diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index bfec66f..0a35164 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -2097,7 +2097,10 @@ static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf)
 		0,
 		0x5,	/* claim SPC-3 version compatibility */
 		2,
-		95 - 4
+		95 - 4,
+		0,
+		0,
+		2
 	};
 
 	VPRINTK("ENTER\n");
-- 
2.9.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-12 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 13:29 [PATCH resend 1/2] libata-scsi: set CmdQue bit in standard INQUIRY data to 1 tom.ty89

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.