Bug 1219066 - Data Tiering : Adding performance to unlink/link/rename in CTR Xlator
Summary: Data Tiering : Adding performance to unlink/link/rename in CTR Xlator
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1217786
Blocks: 1260923
TreeView+ depends on / blocked
 
Reported: 2015-05-06 14:09 UTC by Joseph Elwin Fernandes
Modified: 2016-06-20 00:01 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1217786
Environment:
Last Closed: 2015-05-14 17:29:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joseph Elwin Fernandes 2015-05-06 14:09:35 UTC
+++ This bug was initially created as a clone of Bug #1217786 +++

Description of problem:
ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops

1) ctr_link_consistency option for ctr xaltor is provided so that
   the user can choose to switch it on or off.
   /* For link consistency we do a double update i.e mark the link
   * during the wind and during the unwind we update/delete the link.
   * This has a performance hit. We give a choice here whether we need
   * link consistency to be spoton or not using link_consistency flag.
   * This will have only one link update */
2) In delete the wind time recording is moved to unwind path.
   /* Special performance case:
   * Updating wind time in unwind for delete. This is done here
   * as in the wind path we will not know whether its the last
   * link or not. For a last link there is not use to update any
   * wind or unwind time!*/

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-05-01 11:57:29 EDT ---

REVIEW: http://review.gluster.org/10170 (ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops) posted (#3) for review on master by Joseph Fernandes (josferna)

--- Additional comment from Anand Avati on 2015-05-01 12:10:37 EDT ---

COMMIT: http://review.gluster.org/10170 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 4d118cb5ee99b8401d70678fc3b3576ad938999d
Author: Joseph Fernandes <josferna>
Date:   Thu Apr 9 15:07:54 2015 +0530

    ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops
    
    1) ctr_link_consistency option for ctr xaltor is provided so that
       the user can choose to switch it on or off.
       /* For link consistency we do a double update i.e mark the link
       * during the wind and during the unwind we update/delete the link.
       * This has a performance hit. We give a choice here whether we need
       * link consistency to be spoton or not using link_consistency flag.
       * This will have only one link update */
    
    2) In delete the wind time recording is moved to unwind path.
       /* Special performance case:
       * Updating wind time in unwind for delete. This is done here
       * as in the wind path we will not know whether its the last
       * link or not. For a last link there is not use to update any
       * wind or unwind time!*/
    
    Change-Id: I209472fb816f939db4a868b97ba053b028f17ea6
    BUG: 1217786
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/10170
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Gluster Build System <jenkins.com>

Comment 1 Anand Avati 2015-05-06 14:10:37 UTC
REVIEW: http://review.gluster.org/10614 (ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops) posted (#1) for review on release-3.7 by Joseph Fernandes (josferna)

Comment 2 Anand Avati 2015-05-07 05:31:23 UTC
REVIEW: http://review.gluster.org/10614 (ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops) posted (#2) for review on release-3.7 by Joseph Fernandes (josferna)

Comment 3 Anand Avati 2015-05-07 13:50:02 UTC
COMMIT: http://review.gluster.org/10614 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 42a508fb008c4d2d90faf30616423cfbcba84a30
Author: Joseph Fernandes <josferna>
Date:   Thu Apr 9 15:07:54 2015 +0530

    ctr/libgfdb: Performance enhancer for unlink/create/rename/link fops
    
    1) ctr_link_consistency option for ctr xaltor is provided so that
       the user can choose to switch it on or off.
       /* For link consistency we do a double update i.e mark the link
       * during the wind and during the unwind we update/delete the link.
       * This has a performance hit. We give a choice here whether we need
       * link consistency to be spoton or not using link_consistency flag.
       * This will have only one link update */
    
    2) In delete the wind time recording is moved to unwind path.
       /* Special performance case:
       * Updating wind time in unwind for delete. This is done here
       * as in the wind path we will not know whether its the last
       * link or not. For a last link there is not use to update any
       * wind or unwind time!*/
    
    >   http://review.gluster.org/#/c/10170/
    >   Cherry picked from commit 606d9734543208542afcf9df982bf2d560235ef6
    >   Change-Id: I209472fb816f939db4a868b97ba053b028f17ea6
    >   BUG: 1217786
    >   Signed-off-by: Joseph Fernandes <josferna>
    >   Reviewed-on: http://review.gluster.org/10170
    >   Reviewed-by: Dan Lambright <dlambrig>
    >   Tested-by: Gluster Build System <jenkins.com>
    >   Signed-off-by: Joseph Fernandes <josferna>
    
    Change-Id: I4a89ef80875f36cff91520f712e1f47fde258a63
    BUG: 1219066
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/10170
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Gluster Build System <jenkins.com>
    Signed-off-by: Joseph Fernandes <josferna>
    Reviewed-on: http://review.gluster.org/10614
    Tested-by: NetBSD Build System
    Reviewed-by: Vijay Bellur <vbellur>

Comment 4 Niels de Vos 2015-05-14 17:29:38 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:36:00 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:38:22 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 7 Niels de Vos 2015-05-14 17:47:22 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


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