Bug 214778 - fs: error in __generic_file_aio_read
Summary: fs: error in __generic_file_aio_read
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Larry Woodman
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-09 13:59 UTC by Monakhov Dmitriy
Modified: 2018-06-13 21:33 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0304
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-08 04:04:38 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0304 0 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 4 Update 5 2007-04-28 18:58:50 UTC

Description Monakhov Dmitriy 2006-11-09 13:59:07 UTC
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 14:01:40 UTC
Created attachment 140771 [details]
Backported patch

Comment 2 Jason Baron 2006-12-04 19:22:21 UTC
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 Program Management 2006-12-14 22:46:48 UTC
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 14:54:27 UTC
QE ack for RHEL4.5.

Comment 7 Red Hat Bugzilla 2007-05-08 04:04:38 UTC
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 16:06:55 UTC
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 16:07:01 UTC
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 20:28:06 UTC
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 22:33:27 UTC
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 15:16:51 UTC
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 21:33:28 UTC
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.