Bug 1208784

Summary: Load md-cache on the server
Product: [Community] GlusterFS Reporter: Vijay Bellur <vbellur>
Component: stat-prefetchAssignee: Vijay Bellur <vbellur>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs, hchiramm, ndevos
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 17:29:26 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:

Description Vijay Bellur 2015-04-03 07:50:44 UTC
Description of problem:

md-cache on the server stack can help in avoiding stat and xattr calls from reaching the kernel & disks underneath gluster. This bug will track loading of md-cache on the server

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

Comment 1 Anand Avati 2015-04-03 08:52:23 UTC
REVIEW: http://review.gluster.org/10127 (performance/md-cache: set right error check in {f}getxattr_cbk()) posted (#1) for review on master by Vijay Bellur (vbellur)

Comment 2 Anand Avati 2015-04-07 03:57:51 UTC
COMMIT: http://review.gluster.org/10127 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 0e23ce3fbcf1f138105476cf3b86342268e259d9
Author: Vijay Bellur <vbellur>
Date:   Fri Apr 3 14:14:35 2015 +0530

    performance/md-cache: set right error check in {f}getxattr_cbk()
    
    Currently mdc_{f}getxattr_cbk() check(s) for a non-zero value to
    determine if any cache update has to be performed. Right from
    posix xlator, op_ret has a positive value upon success and -1 upon
    failure. This patch sets right the check in getxattr callbacks so
    that xattr cache update happens for successful calls.
    
    Change-Id: Ifa5ec38bdf7e3dc095de9a56d91559b13cd9e8b6
    BUG: 1208784
    Signed-off-by: Vijay Bellur <vbellur>
    Reviewed-on: http://review.gluster.org/10127
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra Talur <rtalur>

Comment 3 Niels de Vos 2015-05-14 17:29:26 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 4 Niels de Vos 2015-05-14 17:35:55 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:38:17 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:46:49 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user