Bug 647297
Summary: | Direct IO write to a file on an nfs mount does not work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Steve Dickson <steved> |
Component: | kernel | Assignee: | Steve Dickson <steved> |
Status: | CLOSED ERRATA | QA Contact: | yanfu,wang <yanwang> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 5.6 | CC: | abaron, apevec, bfields, cpelland, dhoward, eguan, iheim, jlayton, jpirko, jturner, mburns, mzywusko, smizrahi, steved, syeghiay, yanwang |
Target Milestone: | rc | Keywords: | Regression, TestBlocker, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Storage | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Performing a Direct IO write operation to a file on an NFS mount did not work. With this update, the minor error in the source code was fixed and the Direct IO operation works as expected.
|
Story Points: | --- |
Clone Of: | 647245 | Environment: | |
Last Closed: | 2011-01-13 21:58:29 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: | |||
Bug Depends On: | |||
Bug Blocks: | 647601 |
Comment 1
RHEL Program Management
2010-10-27 20:09:11 UTC
*** Bug 647245 has been marked as a duplicate of this bug. *** in kernel-2.6.18-230.el5 You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed. reproduced on 2.6.18-229.el5 [root@dell-pet310-02 647601-dio-write-on-nfs]# uname -a Linux dell-pet310-02.lab.bos.redhat.com 2.6.18-229.el5 #1 SMP Tue Oct 26 18:54:44 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [root@dell-pet310-02 647601-dio-write-on-nfs]# mount | tail -1 localhost:/home on /root/647601-dio-write-on-nfs/nfs type nfs (rw,addr=127.0.0.1) [root@dell-pet310-02 647601-dio-write-on-nfs]# ./reproducer /root/647601-dio-write-on-nfs/nfs/testfile Could not write to file (12) Cannot allocate memory [root@dell-pet310-02 647601-dio-write-on-nfs]# echo $? 12 [root@dell-pet310-02 647601-dio-write-on-nfs]# verified on 2.6.18-230.el5 [root@dell-pet310-02 647601-dio-write-on-nfs]# uname -a Linux dell-pet310-02.lab.bos.redhat.com 2.6.18-230.el5 #1 SMP Thu Oct 28 17:09:10 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [root@dell-pet310-02 647601-dio-write-on-nfs]# mount | tail -1 localhost:/home on /root/647601-dio-write-on-nfs/nfs type nfs (rw,addr=127.0.0.1) [root@dell-pet310-02 647601-dio-write-on-nfs]# ./reproducer /root/647601-dio-write-on-nfs/nfs/testfile [root@dell-pet310-02 647601-dio-write-on-nfs]# echo $? 0 [root@dell-pet310-02 647601-dio-write-on-nfs]# verified on x86_64 and i386 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Performing a Direct IO write operation to a file on an NFS mount did not work. With this update, the minor error in the source code was fixed and the Direct IO operation works as expected. 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-0017.html |