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 613944 Details for
Bug 835834
glusterfs cilent hangs reproducibly
[?]
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]
option to disable the auxilary gid support in glusterfs
0001-fuse-override-gid-timeout-option-to-disable-aux-gid-.patch (text/plain), 1.72 KB, created by
Amar Tumballi
on 2012-09-18 10:07:43 UTC
(
hide
)
Description:
option to disable the auxilary gid support in glusterfs
Filename:
MIME Type:
Creator:
Amar Tumballi
Created:
2012-09-18 10:07:43 UTC
Size:
1.72 KB
patch
obsolete
>From d929630d1537be6b269a2f510f63e63026a0723e Mon Sep 17 00:00:00 2001 >From: Amar Tumballi <amarts@redhat.com> >Date: Tue, 18 Sep 2012 15:33:56 +0530 >Subject: [PATCH] fuse: override 'gid-timeout' option to disable aux gid > compatibility > >while mounting -o gid-timeout=-1 will be treated as disabling aux-gid > >Change-Id: I85c350868a8cc4a43f5e5aec9427222580da675b >Signed-off-by: Amar Tumballi <amarts@redhat.com> >--- > xlators/mount/fuse/src/fuse-bridge.c | 3 ++- > xlators/mount/fuse/src/fuse-helpers.c | 5 +++++ > 2 files changed, 7 insertions(+), 1 deletion(-) > >diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c >index 6dfc334..077b714 100644 >--- a/xlators/mount/fuse/src/fuse-bridge.c >+++ b/xlators/mount/fuse/src/fuse-bridge.c >@@ -4674,7 +4674,8 @@ init (xlator_t *this_xl) > > GF_OPTION_INIT ("fuse-mountopts", priv->fuse_mountopts, str, cleanup_exit); > >- if (gid_cache_init(&priv->gid_cache, priv->gid_cache_timeout) < 0) { >+ /* HACK: lets treat -1 as aux gid option disable */ >+ if (gid_cache_init(&priv->gid_cache, priv->gid_cache_timeout) < -1) { > gf_log("glusterfs-fuse", GF_LOG_ERROR, "Failed to initialize " > "group cache."); > goto cleanup_exit; >diff --git a/xlators/mount/fuse/src/fuse-helpers.c b/xlators/mount/fuse/src/fuse-helpers.c >index 461f748..03a234c 100644 >--- a/xlators/mount/fuse/src/fuse-helpers.c >+++ b/xlators/mount/fuse/src/fuse-helpers.c >@@ -245,6 +245,11 @@ static void get_groups(fuse_private_t *priv, call_frame_t *frame) > const gid_list_t *gl; > gid_list_t agl; > >+ if (priv->gid_cache_timeout == -1) { >+ frame->root->ngrps = 0; >+ return; >+ } >+ > if (!priv->gid_cache_timeout) { > frame_fill_groups(frame); > return; >-- >1.7.10.1 >
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 835834
:
594717
|
594718
|
594743
|
594747
|
594992
|
595897
|
595921
|
596348
|
596647
| 613944