Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1273315

Summary: fuse: Avoid redundant lookup on "." and ".." as part of every readdirp
Product: [Community] GlusterFS Reporter: Susant Kumar Palai <spalai>
Component: fuseAssignee: Susant Kumar Palai <spalai>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, rgowdapp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1327035 (view as bug list) Environment:
Last Closed: 2016-06-16 13:40:47 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: 1327035    

Description Susant Kumar Palai 2015-10-20 08:16:18 UTC
Description of problem:
Post readdirp we do lookup for each entry. We can avoid redundant lookup on
"." -> which is the $PWD it self and ".." -> parent.

Comment 1 Vijay Bellur 2015-10-29 08:32:08 UTC
REVIEW: http://review.gluster.org/12374 (fuse: Avoid redundant lookup on "." and ".." credit: R. Gowdappa) posted (#3) for review on master by Raghavendra G (rgowdapp)

Comment 2 Vijay Bellur 2015-10-29 08:32:35 UTC
COMMIT: http://review.gluster.org/12374 committed in master by Raghavendra G (rgowdapp) 
------
commit c1c5075df463fd298418bf31384b6d92f84d194b
Author: Susant Palai <spalai>
Date:   Fri Oct 16 09:57:22 2015 -0400

    fuse: Avoid redundant lookup on "." and ".."
    credit: R. Gowdappa
    
    Change-Id: I3bc1534e499f2eccd114db69a29c0b2ce82775db
    BUG: 1273315
    Reviewed-on: http://review.gluster.org/12374
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

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