Bug 1439640

Summary: [Parallel Readdir] : No bound-checks/CLI validation for parallel readdir tunables
Product: [Community] GlusterFS Reporter: Poornima G <pgurusid>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, asoman, bturner, bugs, rcyriac, rgowdapp, rhinduja, rhs-bugs, skoduri, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dht-parallel-readdirp
Fixed In Version: glusterfs-3.11.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1438245 Environment:
Last Closed: 2017-05-30 18:49:22 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: 1438245    
Bug Blocks:    

Comment 1 Worker Ant 2017-04-06 11:09:44 UTC
REVIEW: https://review.gluster.org/17008 (glusterd: Add validation for options rda-cache-limit rda-request-size) posted (#1) for review on master by Poornima G (pgurusid)

Comment 2 Worker Ant 2017-04-11 07:42:43 UTC
COMMIT: https://review.gluster.org/17008 committed in master by Atin Mukherjee (amukherj) 
------
commit c002b3d76486128ba78328b4a96ae0a1d8fe9cd0
Author: Poornima G <pgurusid>
Date:   Thu Apr 6 16:36:29 2017 +0530

    glusterd: Add validation for options rda-cache-limit rda-request-size
    
    Currently when prarallel readdir is enabled, setting any junk value
    to rda-cache-limit and rda-request-size succeeds. This is because of
    bug in the special handling of these options.
    
    Fixing the same in this patch
    
    Change-Id: I902cd9ac9134c158ab6f8aea4b001254a03547bd
    BUG: 1439640
    Signed-off-by: Poornima G <pgurusid>
    Reviewed-on: https://review.gluster.org/17008
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Atin Mukherjee <amukherj>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 3 Shyamsundar 2017-05-30 18:49:22 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/