Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 214778 - fs: error in __generic_file_aio_read
fs: error in __generic_file_aio_read
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
4.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Larry Woodman
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-09 08:59 EST by Monakhov Dmitriy
Modified: 2018-06-13 17:33 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2007-0304
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-08 00:04:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Backported patch (407 bytes, patch)
2006-11-09 09:01 EST, Monakhov Dmitriy
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0304 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 4 Update 5 2007-04-28 14:58:50 EDT

  None (edit)
Description Monakhov Dmitriy 2006-11-09 08:59:07 EST
Virtuozzo/OpenVZ Linux Team has noticed an
readv(2) error handling error affected RHEL4 kernels:
Version:2.6.9-42.0.3.EL

readv hits an error during reading, it reports the
error if nothing has been successfully read yet.  This  condition reproducible
when an error occurs, if nothing has been read/written, report the error code;
otherwise, report the amount of bytes successfully transferred up to that
point.
 performing readv(2) with the following iov.

 iov[0] = {len0, ptr1}
 iov[1] = {len1, NULL} (or any other invalid pointer)
 iov[2] = {len2, ptr2}

When file size is enough, performing above readv(2) results in

 len0 bytes from file_pos @ ptr0
 len2 bytes from file_pos + len0 @ ptr2
Expected result:
 len0 bytes from file_pos @ ptr0

It is known issue and it is fixed in mainstream by following patch:
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a
Comment 1 Monakhov Dmitriy 2006-11-09 09:01:40 EST
Created attachment 140771 [details]
Backported patch
Comment 2 Jason Baron 2006-12-04 14:22:21 EST
committed in stream U5 build 42.28. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/
Comment 3 RHEL Product and Program Management 2006-12-14 17:46:48 EST
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.
Comment 4 Jay Turner 2006-12-18 09:54:27 EST
QE ack for RHEL4.5.
Comment 7 Red Hat Bugzilla 2007-05-08 00:04:38 EDT
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 the 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/RHBA-2007-0304.html
Comment 8 Fedora Update System 2018-06-01 12:06:55 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d12b450dea
Comment 9 Fedora Update System 2018-06-01 12:07:01 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5247b879d
Comment 10 Fedora Update System 2018-06-02 16:28:06 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d12b450dea
Comment 11 Fedora Update System 2018-06-02 18:33:27 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5247b879d
Comment 12 Fedora Update System 2018-06-13 11:16:51 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2018-06-13 17:33:28 EDT
golang-github-prometheus-procfs-0-0.22.20180601gitfe93d37.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

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