Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305605 Details for
Bug 446794
LOST WRITES TO NFS FILES OPENED WITH O_SYNC
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
the patch
linux-2.6.9-nfs-file-sync.patch (text/plain), 589 bytes, created by
wengang wang
on 2008-05-16 03:13:29 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
wengang wang
Created:
2008-05-16 03:13:29 UTC
Size:
589 bytes
patch
obsolete
>diff -up ./fs/nfs/file.c.orig ./fs/nfs/file.c >--- ./fs/nfs/file.c.orig 2008-03-28 09:40:06.000000000 +0800 >+++ ./fs/nfs/file.c 2008-03-28 09:44:48.000000000 +0800 >@@ -366,6 +366,13 @@ nfs_file_write(struct kiocb *iocb, const > > nfs_add_stats(inode, NFSIOS_NORMALWRITTENBYTES, count); > result = generic_file_aio_write(iocb, buf, count, pos); >+ >+ /* Return error values for O_SYNC and IS_SYNC() */ >+ if (result >= 0 && (IS_SYNC(inode) || (iocb->ki_filp->f_flags & O_SYNC))) { >+ int err = nfs_fsync(iocb->ki_filp, dentry, 1); >+ if (err < 0) >+ result = err; >+ } > out: > return result; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446794
: 305605