Bug 617414

Summary: avoid canceling in flight ide dma
Product: Red Hat Enterprise Linux 6 Reporter: Andrea Arcangeli <aarcange>
Component: qemu-kvmAssignee: Andrea Arcangeli <aarcange>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: amit.shah, bcao, ddumas, kcao, mjenner, mkenneth, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.101.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 21:26:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrea Arcangeli 2010-07-23 00:44:09 UTC
Description of problem: in flight dma might be aborted partially

not reproducible found by code review and applied to RHEL6 KVM package but missing in RHEL6 because rejected by upstream.

Comment 1 Andrea Arcangeli 2010-07-23 00:46:33 UTC
Patch posted as Message-ID: <20100721152112.GZ24928> in rhvirt-patches.

Comment 2 Andrea Arcangeli 2010-07-23 00:56:27 UTC
rediffed and reposted to rhvirt-patches as Message-ID: <20100723005600.GU24928>

Comment 4 RHEL Program Management 2010-07-23 01:17:37 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 6 Amit Shah 2010-07-23 07:16:25 UTC
Andrea, can you note why this was rejected upstream?

Comment 7 Andrea Arcangeli 2010-07-23 14:21:33 UTC
I submitted it to Anthony last version on 26 Feb 2009 (you can check on qemu-devel archives) and got no answer simply and apparently it wasn't applied.

Comment 8 Amit Shah 2010-07-23 15:10:44 UTC
(In reply to comment #7)
> I submitted it to Anthony last version on 26 Feb 2009 (you can check on
> qemu-devel archives) and got no answer simply and apparently it wasn't applied.    

qemu upstream needs constant reminders; can you send out a rebased patch to the upstream list?

Comment 12 Kevin Wolf 2010-07-30 07:20:54 UTC
*** Bug 618901 has been marked as a duplicate of this bug. ***

Comment 13 Mike Cao 2010-07-30 10:16:58 UTC
Hi ,

Could you give me some suggestions how to verify this issue.?

Comment 14 Andrea Arcangeli 2010-07-30 13:21:17 UTC
Ok, I'm afraid there is no way to verify it. It's a "theoretical" fix for not easily reproducible issue.

The thing to verify is that this doesn't cause regressions, so you shall run some I/O intensive workload with the -drive if=ide and then run a e2fsck -f /dev/hd?? to verify the fileysystem is fine.

Comment 15 Mike Cao 2010-08-02 03:07:37 UTC
Verified in qemu-kvm-0.12.1.2-2.106.el6.x86_64.

Steps:
1.Since bug 618901 marked as dup of this one .Verified that bug and passed.

2.Following steps comment #14.and find no bad block inode.

Based on above ,this issue has already been fixed .
Change status to VERIFIED.

Comment 16 releng-rhel@redhat.com 2010-11-10 21:26:50 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.