Bug 1221104

Summary: Sharding - Skip update of block count and size for directories in readdirp callback
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: shardingAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1225922 (view as bug list) Environment:
Last Closed: 2016-06-16 13:00:40 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: 1225922    

Description Krutika Dhananjay 2015-05-13 09:43:34 UTC
Description of problem:
Sharding translator, in readdirp callback, need not update the block count and file size in entry->d_stat if the inode is a directory. This BZ is to fix the bug.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-05-13 13:54:28 UTC
REVIEW: http://review.gluster.org/10772 (features/shard: Skip block count and size update for directories) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

Comment 2 Anand Avati 2015-05-17 14:34:34 UTC
REVIEW: http://review.gluster.org/10772 (features/shard: Skip block count and size update for directories) posted (#2) for review on master by Vijay Bellur (vbellur)

Comment 3 Anand Avati 2015-05-18 17:06:08 UTC
REVIEW: http://review.gluster.org/10772 (features/shard: Skip block count and size update for directories) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

Comment 4 Anand Avati 2015-05-28 05:43:44 UTC
COMMIT: http://review.gluster.org/10772 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 58a687a8e0967393428bc5f93f0d32bbc3792f88
Author: Krutika Dhananjay <kdhananj>
Date:   Wed May 13 11:44:49 2015 +0200

    features/shard: Skip block count and size update for directories
    
    Change-Id: Iaa7022c95a8d9c9c471db025ec644e0bcc4eeb29
    BUG: 1221104
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/10772
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 5 Nagaprasad Sathyanarayana 2015-10-25 15:04:47 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 6 Niels de Vos 2016-06-16 13:00:40 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