Bug 1384323 - usage text is wrong for use-readdirp mount default
Summary: usage text is wrong for use-readdirp mount default
Keywords:
Status: CLOSED DUPLICATE of bug 1384345
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: 3.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: ankit
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 06:32 UTC by ankit
Modified: 2016-10-13 08:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-13 08:05:41 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description ankit 2016-10-13 06:32:04 UTC
+++ This bug was initially created as a clone of Bug #1222915 +++
+++ This bug was initially created as a clone of Bug #1222917 +++

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


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


The default should be yes anyway, so just need to fix the text.

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?

Comment 1 ankit 2016-10-13 08:05:41 UTC

*** This bug has been marked as a duplicate of bug 1384345 ***


Note You need to log in before you can comment on or make changes to this bug.