mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
0c12735e8a
commit
415ffdde15
1 changed files with 4 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue