Bug 1207867

Summary: Are not distinguishing internal vs external FOPs in tiering
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: Joseph Elwin Fernandes <josferna>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, mmadhusu, sankarshan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 17:27:13 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: 1206517, 1260923    

Description Dan Lambright 2015-03-31 22:24:13 UTC
Description of problem:

We are not distinguishing internal vs external FOPs in tiering. So when we migrate a file, it appears an IO hit it, which breaks the caching policies.

Comment 1 Anand Avati 2015-04-01 14:54:34 UTC
REVIEW: http://review.gluster.org/10080 (Fix for heating of files during promotion/demotion) posted (#3) for review on master by Dan Lambright (dlambrig)

Comment 2 Anand Avati 2015-04-02 14:23:28 UTC
REVIEW: http://review.gluster.org/10080 (Fix for heating of files during promotion/demotion) posted (#4) for review on master by Joseph Fernandes (josferna)

Comment 3 Anand Avati 2015-04-02 20:57:43 UTC
REVIEW: http://review.gluster.org/10080 (Fix for heating of files during promotion/demotion) posted (#5) for review on master by Joseph Fernandes (josferna)

Comment 4 Anand Avati 2015-04-03 16:22:27 UTC
REVIEW: http://review.gluster.org/10080 (Fix for heating of files during promotion/demotion) posted (#6) for review on master by Joseph Fernandes (josferna)

Comment 5 Anand Avati 2015-04-06 11:23:56 UTC
REVIEW: http://review.gluster.org/10080 (CTR XLATOR : Fix for heating of files during promotion/demotion) posted (#7) for review on master by Joseph Fernandes (josferna)

Comment 6 Anand Avati 2015-04-07 11:23:54 UTC
REVIEW: http://review.gluster.org/10080 (ctr : Fix for heating of files during promotion/demotion) posted (#8) for review on master by Joseph Fernandes (josferna)

Comment 7 Anand Avati 2015-04-08 10:31:11 UTC
COMMIT: http://review.gluster.org/10080 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 097795df7ebab48515d75e95a2c29e5ab42ac5ee
Author: Joseph Fernandes <josferna>
Date:   Wed Apr 1 02:56:23 2015 +0530

    ctr : Fix for heating of files during promotion/demotion
    
    This fix will solve the heating of the files during the promotion
    or demotion.
    Promotion:
    ~~~~~~~~~
    When a file gets promoted it get the current time stamp
     during creation only, but following writes or reads during the
    migration wont heat the file.
    Demotion:
    ~~~~~~~~
    When a file gets demoted it get the wind/unwind time stamp is set to
    zero. The following writes or reads during the migration wont heat
    the file.
    
    What is remaining ?
    ~~~~~~~~~~~~~~~~~
    Bug 1209129 ( https://bugzilla.redhat.com/show_bug.cgi?id=1209129 )
    Inspite of this fix there is still a issue remaining, i.e the heat of
    the file is not keep intact during a internal rebalance activity i.e
    a rebalance within a tier.
    
    Change-Id: I01e82dc226355599732d40e699062cee7960b0a5
    BUG: 1207867
    Signed-off-by: Joseph Fernandes <josferna>
    Signed-off-by: Dan Lambright <dlambrig>
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/10080
    Reviewed-by: Shyamsundar Ranganathan <srangana>
    Tested-by: Gluster Build System <jenkins.com>

Comment 8 Niels de Vos 2015-05-14 17:27:13 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 9 Niels de Vos 2015-05-14 17:28: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.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 10 Niels de Vos 2015-05-14 17:35:19 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