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 703021 Details for
Bug 915862
The sync mount option does not work for NFSv4 mounts in RHEL6
[?]
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]
potential fix for upstream kernel
0001-NFSv4-Fix-the-sync-mount-option-for-nfs4-mounts.patch (text/plain), 1.21 KB, created by
Scott Mayhew
on 2013-02-26 16:40:34 UTC
(
hide
)
Description:
potential fix for upstream kernel
Filename:
MIME Type:
Creator:
Scott Mayhew
Created:
2013-02-26 16:40:34 UTC
Size:
1.21 KB
patch
obsolete
>From 34235e4f76279b39ea86e3871d5214b284d2479e Mon Sep 17 00:00:00 2001 >From: Scott Mayhew <smayhew@redhat.com> >Date: Tue, 26 Feb 2013 11:24:31 -0500 >Subject: [PATCH] NFSv4: Fix the sync mount option for nfs4 mounts > >The sync mount option stopped working for NFSv4 mounts after commit >c02d7adf8c5429727a98bad1d039bccad4c61c50 (NFSv4: Replace nfs4_path_walk() with >FS path lookup in a private namespace). If MS_SYNCHRONOUS is set in the >super_block that we're cloning from, then it should be set in the new >super_block as well. >--- > fs/nfs/super.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/fs/nfs/super.c b/fs/nfs/super.c >index befbae0..a739bfe 100644 >--- a/fs/nfs/super.c >+++ b/fs/nfs/super.c >@@ -2405,6 +2405,10 @@ struct dentry *nfs_fs_mount_common(struct nfs_server *server, > if (server->flags & NFS_MOUNT_NOAC) > sb_mntdata.mntflags |= MS_SYNCHRONOUS; > >+ if (mount_info->cloned != NULL && mount_info->cloned->sb != NULL) >+ if (mount_info->cloned->sb->s_flags & MS_SYNCHRONOUS) >+ sb_mntdata.mntflags |= MS_SYNCHRONOUS; >+ > /* Get a superblock - note that we may end up sharing one that already exists */ > s = sget(nfs_mod->nfs_fs, compare_super, nfs_set_super, flags, &sb_mntdata); > if (IS_ERR(s)) { >-- >1.7.11.7 >
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 915862
:
703020
| 703021