Red Hat Bugzilla – Bug 636906
32bit compat vectored aio routines are broken
Last modified: 2014-01-12 19:00:50 EST
Description of problem: It was reported[1] that 32 bit readv and writev AIO operations were not functioning properly. It turns out that the code to convert the 32bit io vectors to 64 bits was never written. The results of that can be pretty bad, but in my testing, it mostly ended up in generating EFAULT as we walked off the list of I/O vectors provided. [1] http://lkml.org/lkml/2010/3/8/309 See the upstream patch submission here: http://lkml.org/lkml/2010/4/30/434 Version-Release number of selected component (if applicable): 2.6.32-71.el6 How reproducible: 100% Steps to Reproduce: 1. run the libaio test harness, built using -m32 and run on a 64bit box Actual results: Failure Expected results: Success
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.
I'm backporting the following commits for this bug: b83733639a494d5f42fa00a2506563fbd2d3015d 9d85cba718efeef9ca00ce3f7f34f5880737aa9b 7cbe17701a0379c7b05a79a6df4f24e41d2afde8 767b68e96993e29e3480d7ecdd9c4b84667c5762
Patch(es) available on kernel-2.6.32-117.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