Red Hat Bugzilla – Bug 669272
xfs: need upstream unaligned aio/dio data corruption fixes
Last modified: 2015-01-04 18:00:15 EST
Description of problem: The outstanding problem of qemu using aio on unaligned partitions still needs fixing. The original set of problems were reported in 589985, and the equivalent ext4 bug is 615309. A set of fixes for XFS was just accepted upstream for 2.6.38, found here: http://oss.sgi.com/archives/xfs/2011-01/msg00156.html Version-Release number of selected component (if applicable): RHEL 6.1 How reproducible: 100% Steps to Reproduce: 1. Run test 240 in xfstests. Actual results: Sub block data corruption is detected Expected results: No data corruption. Additional info:
The upstream patch series has too many dependencies to apply to a RHEL 6 tree easily, so I'm going to port only the first and last patches of the series and ignore all the clean-ups. The first patch fixes sync write error return values, the last patch fixes the unaligned dio issue.
Dave, if you can make this one for 6.1, can you set devel_ack? thanks.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
patches posted to rhkernel-list on 14/1/11
Patch(es) available on kernel-2.6.32-112.el6
Reproduced in 2.6.32-94.el6 and verified in 2.6.32-104.el6.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html