[Bugs] [Bug 1218963] New: NFS-Ganesha : Locking of global option file used by NFS-Ganesha.

bugzilla at redhat.com bugzilla at redhat.com
Wed May 6 10:00:59 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1218963

            Bug ID: 1218963
           Summary: NFS-Ganesha : Locking of global option file used by
                    NFS-Ganesha.
           Product: GlusterFS
           Version: 3.7.0
         Component: ganesha-nfs
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: mmadhusu at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    kkeithle at redhat.com
        Depends On: 1200254
            Blocks: 1188184



+++ This bug was initially created as a clone of Bug #1200254 +++

Description of problem:

The global option gluster features.ganesha enable will
write into the global 'option' file. Currently, only the snapshot
feature writes into this file. But with CLI changes getting merged,
NFS-Ganesha also writes into the same file.
http://review.gluster.org/#/c/9538/

To handle concurrent multiple transactions correctly, a new lock has to
be introduced on this file. Every operation using this file needs to contest
for the new lock type. This bug is opened to track that change.

--- Additional comment from Meghana on 2015-03-12 00:53:44 EDT ---

Review comments that need to addressed :

1. In the function, __glusterd_handle_ganesha_cmd , change the log level
in gf_log to GF_LOG_DEBUG.

2. Remove validation of key/value in either commit/stage phase in
CLI global option patch.

--- Additional comment from Meghana on 2015-03-30 05:46:39 EDT ---

gluster vol info shows inconsistent values for features.ganesha. Check and fix
in the same patch

--- Additional comment from Anand Avati on 2015-04-06 02:14:22 EDT ---

REVIEW: http://review.gluster.org/10130 (NFS-Ganesha : Locking global options
file) posted (#1) for review on master by Meghana M (mmadhusu at redhat.com)

--- Additional comment from Anand Avati on 2015-04-09 09:13:50 EDT ---

REVIEW: http://review.gluster.org/10130 (NFS-Ganesha : Locking global options
file) posted (#2) for review on master by Meghana M (mmadhusu at redhat.com)

--- Additional comment from Anand Avati on 2015-04-21 06:31:43 EDT ---

REVIEW: http://review.gluster.org/10130 (NFS-Ganesha : Locking global options
file) posted (#3) for review on master by Meghana M (mmadhusu at redhat.com)

--- Additional comment from Anand Avati on 2015-05-05 08:25:55 EDT ---

REVIEW: http://review.gluster.org/10130 (NFS-Ganesha : Locking global options
file) posted (#5) for review on master by Kaleb KEITHLEY (kkeithle at redhat.com)

--- Additional comment from Anand Avati on 2015-05-06 00:24:33 EDT ---

REVIEW: http://review.gluster.org/10130 (NFS-Ganesha : Locking global options
file) posted (#6) for review on master by Meghana M (mmadhusu at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1188184
[Bug 1188184] Tracker bug :  NFS-Ganesha new features support for  3.7.
https://bugzilla.redhat.com/show_bug.cgi?id=1200254
[Bug 1200254] NFS-Ganesha : Locking of global option file used by
NFS-Ganesha.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list