libata-scsi: set CmdQue bit in standard INQUIRY data to 1
authorTom Yan <tom.ty89@gmail.com>
Tue, 12 Jul 2016 13:29:34 +0000 (21:29 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 12 Jul 2016 14:54:54 +0000 (10:54 -0400)
commit415ffdde15551769b24afe0e2021e231298773f8
treec79eefd97e40204f9aacc5230dcfc85765e246f7
parent0c12735e8abf4734b011aec979092db5e63556b0
libata-scsi: set CmdQue bit in standard INQUIRY data to 1

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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c