Bug 1307208

Summary: dht: NULL layouts referenced while the I/O is going on tiered volume
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, byarlaga, dlambrig, josferna, nbalacha, rcyriac, rkavunga, skoduri, smohan, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Tiering
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1305858
: 1308400 (view as bug list) Environment:
Last Closed: 2016-06-16 13:57:29 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: 1305858    
Bug Blocks: 1308400    

Comment 1 Vijay Bellur 2016-02-13 05:17:33 UTC
REVIEW: http://review.gluster.org/13440 (cluster/dht: Skip subvols if no layout present) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Vijay Bellur 2016-02-13 05:30:02 UTC
REVIEW: http://review.gluster.org/13440 (cluster/dht: Skip subvols if no layout present) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 3 Vijay Bellur 2016-02-15 04:37:36 UTC
COMMIT: http://review.gluster.org/13440 committed in master by Raghavendra G (rgowdapp) 
------
commit bfd8f92490454f261330da34565334ed5decd0e1
Author: N Balachandran <nbalacha>
Date:   Sat Feb 13 10:02:55 2016 +0530

    cluster/dht: Skip subvols if no layout present
    
    Running "rm -rf" on a tiered volume sometimes caused
    the client to crash because dht_readdirp_cbk referenced
    a NULL layout for the hot tier subvol.
    Now, entries are skipped if the layout is NULL. This
    can cause "rm -rf" to fail with ENOTEMPTY rmdir failures.
    
    Change-Id: Idd71a9d0f7ee712899cc7113bbf2cd3dcb25808b
    BUG: 1307208
    Signed-off-by: N Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/13440
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Dan Lambright <dlambrig>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 4 Niels de Vos 2016-06-16 13:57:29 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user