[Bugs] [Bug 1222915] New: usage text is wrong for use-readdirp mount default

bugzilla at redhat.com bugzilla at redhat.com
Tue May 19 12:41:04 UTC 2015


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

            Bug ID: 1222915
           Summary: usage text is wrong for use-readdirp mount default
           Product: GlusterFS
           Version: mainline
         Component: fuse
          Keywords: EasyFix, Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
            Blocks: 1222148



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

glusterfsd/src/glusterfsd.c:215
        {"use-readdirp", ARGP_FUSE_USE_READDIRP_KEY, "BOOL",
OPTION_ARG_OPTIONAL,
         "Use readdirp mode in fuse kernel module"
         " [default: \"off\"]"},


glusterfsd/src/glusterfsd.c:1077
        case ARGP_FUSE_USE_READDIRP_KEY:
                if (!arg)
                        arg = "yes";


The default should be yes anyway, so just need to fix the text in line 217

Even better would be to have these kind of options and their help text come
from each translator's volume_options struct so changes don't come from
multiple places. Perhaps that struct should be in include files?


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1222148
[Bug 1222148] usage text is wrong for use-readdirp mount default
-- 
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