RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1823990 - [virtio-win][vioscsi] scsi dvd passthrough slow read on windows guest
Summary: [virtio-win][vioscsi] scsi dvd passthrough slow read on windows guest
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 9.1
Assignee: Vadim Rozenfeld
QA Contact: Peixiu Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-15 01:42 UTC by Peixiu Hou
Modified: 2022-06-29 01:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-28 08:43:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peixiu Hou 2020-04-15 01:42:18 UTC
Description of problem:
copy an above 800k file takes up to 30 minutes or more depending on the file size, as issue description, 
https://github.com/virtio-win/kvm-guest-drivers-windows/issues/448

Version-Release number of selected component (if applicable):
kernel-4.18.0-193.el8.x86_64
qemu-kvm-2.12.0-99.module+el8.2.0+5827+8c39933c.x86_64
seabios-bin-1.11.1-4.module+el8.1.0+4066+0f1aadab.noarch
virtio-win-prewhql-173/180

How reproducible:
100%

Steps to Reproduce:
1. Boot windows vm with scsi-generic dvd passthrough.
=============================================================================
/usr/libexec/qemu-kvm \
-name vm1 \
-M pc \
-enable-kvm -nodefconfig -nodefaults \
-m 2G \
-smp 2 \
-cpu host \
-uuid ee7aa5a0-43e0-4d11-8dc2-968a3e644147 \
-nodefconfig \
-rtc base=localtime,clock=host,driftfix=slew \
-drive file=win2016-64-virtio-scsi.qcow2,if=none,format=qcow2,cache=none,werror=stop,rerror=stop,id=drive-virtio-disk0,aio=native \
-device virtio-blk-pci,scsi=off,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-device piix3-usb-uhci,id=usb \
-device usb-tablet,id=tablet0 \
-vnc 0.0.0.0:3 \
-vga std \
-k en-us \
-monitor stdio \
-qmp tcp:0:4449,server,nowait \
-boot menu=on \
-netdev tap,script=/etc/qemu-ifup,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=54:a2:87:19:40:31 \
-device usb-ehci,id=ehci0 \
-cdrom /home/kvm_autotest_root/iso/windows/virtio-win-prewhql-0.1-173.iso \
-device virtio-scsi-pci,id=scsi0,bus=pci.0 \
-drive file=/dev/sg2,if=none,media=cdrom,readonly=on,format=raw,id=drive-hostdev0 \
-device scsi-generic,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-hostdev0,id=hostdev0 \
============================================================================

2. Install vioscsi driver for virtio-scsi-pci device.
3. Copy an above 800K file from cdrom out.  ---issue occur.

Actual results:
slow read

Expected results:
fast read

Additional info:
1. Tested on rhel7.4 host(kernel-3.10.0-693.el7.x86_64) with qemu qemu-kvm-1.5.3-141.el7.x86_64, reproduced this issue.
2. Tested on rhel7.4 host(kernel-3.10.0-693.el7.x86_64) with qemu-kvm-rhev-2.9.0-16.el7_4.3.x86_64, reproduced this issue.
3. Tested with Windows 2016 geust, also reproduced this issue.
4. Tested with rhel8.2.0 guest, cannot reproduce slow read issue, but hit error message when copy a 76M file, errors as follows:
--------------------------------------------------------------------------------
[  140.883275] sr 0:0:0:0: [sr0] tag#105 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[  140.883940] sr 0:0:0:0: [sr0] tag#105 Sense Key : Aborted Command [current]
[  140.884420] sr 0:0:0:0: [sr0] tag#105 Add. Sense: I/O process terminated
[  140.884889] sr 0:0:0:0: [sr0] tag#105 CDB: Read(10) 28 00 00 00 00 42 00 00 3e 00
[  140.885384] blk_update_request: I/O error, dev sr0, sector 264 op 0x0:(READ) flags 0x0 phys_seg 31 prio class 0
[  141.053286] sr 0:0:0:0: [sr0] tag#108 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[  141.053924] sr 0:0:0:0: [sr0] tag#108 Sense Key : Aborted Command [current]
[  141.054945] sr 0:0:0:0: [sr0] tag#108 Add. Sense: I/O process terminated
[  141.055878] sr 0:0:0:0: [sr0] tag#108 CDB: Read(10) 28 00 00 00 00 82 00 00 7e 00
[  141.056818] blk_update_request: I/O error, dev sr0, sector 520 op 0x0:(READ) flags 0x0 phys_seg 63 prio class 0
--------------------------------------------------------------------------------

Comment 5 Peixiu Hou 2021-09-27 07:57:57 UTC
Hi Vadim,

As this issue is come from custom bz https://github.com/virtio-win/kvm-guest-drivers-windows/issues/448, so could we extend the Stale Date?

Thanks~
Peixiu

Comment 6 Peixiu Hou 2021-11-22 02:05:38 UTC
Hi Vadim, 

It's close to the Stale Date for this bug, could we extend it?

Thanks~
Peixiu

Comment 7 Vadim Rozenfeld 2021-11-28 10:06:41 UTC
(In reply to Peixiu Hou from comment #6)
> Hi Vadim, 
> 
> It's close to the Stale Date for this bug, could we extend it?
> 
> Thanks~
> Peixiu

Done,

Best,
Vadim.

Comment 8 Peixiu Hou 2022-02-20 22:24:55 UTC
Hi Vadim,

Could you help to move this bug to RHEL9.1 Product? thanks~

Best Regards~
Peixiu

Comment 9 Peixiu Hou 2022-02-22 02:35:05 UTC
Hi Vadim,

Could you help to update the Stale Date? Since this issue change to RHEL9.1 product, maybe it's better follows with RHEL9.1 dev plan~

Thanks~
Peixiu

Comment 10 Vadim Rozenfeld 2022-06-28 08:43:24 UTC
This bug was created mostly as a reference.
There is no plan to fix this problem in the future releases.


Note You need to log in before you can comment on or make changes to this bug.