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 703020 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 rhel6 kernels
0001-NFSv4-Fix-the-sync-mount-option-for-nfs4-mounts.patch (text/plain), 1.60 KB, created by
Scott Mayhew
on 2013-02-26 16:39:53 UTC
(
hide
)
Description:
potential fix for rhel6 kernels
Filename:
MIME Type:
Creator:
Scott Mayhew
Created:
2013-02-26 16:39:53 UTC
Size:
1.60 KB
patch
obsolete
>From 24488b0440e724ee3d57d5965c68f1bbd04559d1 Mon Sep 17 00:00:00 2001 >From: Scott Mayhew <smayhew@redhat.com> >Date: Tue, 26 Feb 2013 11:26:00 -0500 >Subject: [RHEL6 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 | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/fs/nfs/super.c b/fs/nfs/super.c >index b4ac7a6..37abfa2 100644 >--- a/fs/nfs/super.c >+++ b/fs/nfs/super.c >@@ -3070,6 +3070,9 @@ static int nfs4_xdev_get_sb(struct file_system_type *fs_type, int flags, > if (server->flags & NFS_MOUNT_NOAC) > sb_mntdata.mntflags |= MS_SYNCHRONOUS; > >+ if (data->sb != NULL && data->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(&nfs4_fs_type, compare_super, nfs_set_super, &sb_mntdata); > if (IS_ERR(s)) { >@@ -3163,6 +3166,9 @@ static int nfs4_remote_referral_get_sb(struct file_system_type *fs_type, > if (server->flags & NFS_MOUNT_NOAC) > sb_mntdata.mntflags |= MS_SYNCHRONOUS; > >+ if (data->sb != NULL && data->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(&nfs4_fs_type, compare_super, nfs_set_super, &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