Red Hat Bugzilla – Bug 446794
LOST WRITES TO NFS FILES OPENED WITH O_SYNC
Last modified: 2008-06-17 15:12:07 EDT
a file under NFS mount point is opened O_SYNC option.
the NFS partition on server is nearly full.
although some writes returns successfully, the file content is not the expected.
I thinks it because there is miss of syncing the write operation in nfs/file.c
which is corrected in later rhel release.
attached the patch.
Created attachment 305605 [details]
Would you describe what the expected contents of the file
would be, if they weren't what was expected, please?
The suggest patch has been part of RHEL-4 since 2.6.9-57, so
any kernel newer than that should have that support. Would
you try your situation on a newer kernel and then if there is
still a problem, then reopen this bugzilla, please?