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 298078 Details for
Bug 437544
fix bad merge in nfs3_write_done and nfs3_commit_done
[?]
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]
patch -- change nfs3_write_done and nfs3_commit_done to do the right revalidations afterward
0012-BZ-437544-fix-transposed-deltas-in-nfs3_write_done-a.patch (text/plain), 1.48 KB, created by
Jeff Layton
on 2008-03-14 20:20:34 UTC
(
hide
)
Description:
patch -- change nfs3_write_done and nfs3_commit_done to do the right revalidations afterward
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2008-03-14 20:20:34 UTC
Size:
1.48 KB
patch
obsolete
>From fac80ce877ff55ec06aa4a8bb204bf6eec94a561 Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Thu, 13 Mar 2008 17:10:11 -0400 >Subject: [PATCH] BZ#437544: fix transposed deltas in nfs3_write_done and nfs3_commit_done > >There appear to be transposed deltas in nfs3_write_done and >nfs3_commit_done in the patch for BZ 321111. COMMIT calls shouldn't >change the mtimes and so we shouldn't need to use the force_wcc >call after one. Writes on the other hand generally do change the >mtime, so we want to make sure we force_wcc after one so that we >don't invalidate the cache due to our own writes. >--- > fs/nfs/nfs3proc.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c >index 86e1529..0246904 100644 >--- a/fs/nfs/nfs3proc.c >+++ b/fs/nfs/nfs3proc.c >@@ -822,7 +822,8 @@ static int nfs3_write_done(struct rpc_task *task, struct nfs_write_data *data) > { > if (nfs3_async_handle_jukebox(task, data->inode)) > return -EAGAIN; >- nfs_refresh_inode(data->inode, data->res.fattr); >+ if (task->tk_status >= 0) >+ nfs_post_op_update_inode_force_wcc(data->inode, data->res.fattr); > return 0; > } > >@@ -850,8 +851,7 @@ static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data) > { > if (nfs3_async_handle_jukebox(task, data->inode)) > return -EAGAIN; >- if (task->tk_status >= 0) >- nfs_post_op_update_inode_force_wcc(data->inode, data->res.fattr); >+ nfs_refresh_inode(data->inode, data->res.fattr); > return 0; > } > >-- >1.5.3.6 >
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 437544
: 298078