Bug 1418249

Summary: [RFE] Need to have group cli option to set all md-cache options using a single command
Product: [Community] GlusterFS Reporter: Poornima G <pgurusid>
Component: md-cacheAssignee: Poornima G <pgurusid>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, asoman, bugs, rcyriac, rhs-bugs, sbhaloth, storage-qa-internal, vbellur
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.11.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1417955
: 1419306 (view as bug list) Environment:
Last Closed: 2017-05-30 18:40:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1417955, 1419306    

Description Poornima G 2017-02-01 11:37:07 UTC
Description of problem:

To set md-cache options using a single command , there is group cli option needed for the same.

 gluster volume set <volname> features.cache-invalidation on
  gluster volume set <volname> features.cache-invalidation-timeout 600
  gluster volume set <volname> performance.stat-prefetch on
  gluster volume set <volname> performance.cache-samba-metadata on     : Not needed in case of non-samba 
  gluster volume set <volname> performance.cache-invalidation on
  gluster volume set <volname> performance.md-cache-timeout 600
Version-Release number of selected component (if applicable):

Comment 1 Worker Ant 2017-02-01 11:45:18 UTC
REVIEW: https://review.gluster.org/16503 (extras: Provide group set for md-cache and invalidation options) posted (#1) for review on master by Poornima G (pgurusid)

Comment 2 Worker Ant 2017-02-02 10:14:16 UTC
REVIEW: https://review.gluster.org/16503 (extras: Provide group set for md-cache and invalidation options) posted (#2) for review on master by Poornima G (pgurusid)

Comment 3 Worker Ant 2017-02-03 09:33:20 UTC
COMMIT: https://review.gluster.org/16503 committed in master by Atin Mukherjee (amukherj) 
------
commit 75c398d396bcd4a50a5bdbe350d2de9d53ebac09
Author: Poornima G <pgurusid>
Date:   Wed Feb 1 17:11:46 2017 +0530

    extras: Provide group set for md-cache and invalidation options
    
    To enable the integration of md-cache and invalidation features
    we need to perform 3 volume set options in a specific order.
    In order to ease this for user provide a group volume set option.
    
    Usage: gluster vol set <VOLNAME> group metadata-cache
    
    Change-Id: I9bf0fd4217aa2a1c7ffbdc93e879b10f87addeac
    BUG: 1418249
    Signed-off-by: Poornima G <pgurusid>
    Reviewed-on: https://review.gluster.org/16503
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 4 Shyamsundar 2017-05-30 18:40:54 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/