Bug 1221104 - Sharding - Skip update of block count and size for directories in readdirp callback
Summary: Sharding - Skip update of block count and size for directories in readdirp ca...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: sharding
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krutika Dhananjay
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1225922
TreeView+ depends on / blocked
 
Reported: 2015-05-13 09:43 UTC by Krutika Dhananjay
Modified: 2016-06-16 13:00 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1225922 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:00:40 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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