Bug 1372686 - [RFE]Reducing number of network round trips
Summary: [RFE]Reducing number of network round trips
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1290304 1372693
Blocks: 1274908 1360978
TreeView+ depends on / blocked
 
Reported: 2016-09-02 11:29 UTC by Krutika Dhananjay
Modified: 2016-12-06 06:00 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.9.0
Clone Of: 1290304
Environment:
Last Closed: 2016-12-06 06:00:28 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Krutika Dhananjay 2016-09-02 11:29:52 UTC
+++ This bug was initially created as a clone of Bug #1290304 +++

Description of problem:
In the unoptimized version of transaction we have: 1) Lock,
2) Pre-op 3) op 4) Post-op 5) unlock
With compound fops we will have:
1) Lock, 2) Pre-op + op 3) post-op + unlock
This reduces round trips from 5 to 3 in the un-optimized version 
of afr-transaction.

This helps in small file write workload.
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 Vijay Bellur on 2016-08-09 03:17:44 EDT ---

REVIEW: http://review.gluster.org/15014 (afr: Consume compound fops in afr transaction) posted (#2) for review on master by Anuradha Talur (atalur)

--- Additional comment from Worker Ant on 2016-08-25 07:03:06 EDT ---

REVIEW: http://review.gluster.org/15014 (afr: Consume compound fops in afr transaction) posted (#3) for review on master by Anuradha Talur (atalur)

--- Additional comment from Worker Ant on 2016-08-31 09:27:15 EDT ---

REVIEW: http://review.gluster.org/15014 (afr: Consume compound fops in afr transaction) posted (#4) for review on master by Anuradha Talur (atalur)

--- Additional comment from Worker Ant on 2016-08-31 19:48:01 EDT ---

REVIEW: http://review.gluster.org/15014 (afr: Consume compound fops in afr transaction) posted (#5) for review on master by Pranith Kumar Karampuri (pkarampu)

--- Additional comment from Worker Ant on 2016-09-01 13:22:44 EDT ---

COMMIT: http://review.gluster.org/15014 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit befae0b48729894282b5b8b174907e24779c3442
Author: Anuradha Talur <atalur>
Date:   Thu Aug 25 11:46:25 2016 +0530

    afr: Consume compound fops in afr transaction
    
    Change-Id: Ib06ece3cce1b10d28d6d2953da28444f5c2457ad
    BUG: 1290304
    Signed-off-by: Anuradha Talur <atalur>
    Reviewed-on: http://review.gluster.org/15014
    Tested-by: Pranith Kumar Karampuri <pkarampu>
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Krutika Dhananjay <kdhananj>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 1 Worker Ant 2016-09-02 11:31:49 UTC
REVIEW: http://review.gluster.org/15388 (afr: Consume compound fops in afr transaction) posted (#1) for review on release-3.9 by Krutika Dhananjay (kdhananj)

Comment 2 Worker Ant 2016-09-06 06:17:55 UTC
REVIEW: http://review.gluster.org/15388 (afr: Consume compound fops in afr transaction) posted (#2) for review on release-3.9 by Atin Mukherjee (amukherj)

Comment 3 Worker Ant 2016-09-06 17:51:02 UTC
COMMIT: http://review.gluster.org/15388 committed in release-3.9 by Pranith Kumar Karampuri (pkarampu) 
------
commit 90a79b04d52987a52aef8bbb9944bdbd44c9ed3c
Author: Anuradha Talur <atalur>
Date:   Thu Aug 25 11:46:25 2016 +0530

    afr: Consume compound fops in afr transaction
    
            Backport of: http://review.gluster.org/15014
            cherry-picked from befae0b48729894282b5b8b174907e24779c3442
    
    Change-Id: I62ff41aa80fe700df2dda8b10606e484ee1f382e
    BUG: 1372686
    Signed-off-by: Anuradha Talur <atalur>
    Reviewed-on: http://review.gluster.org/15388
    Tested-by: Krutika Dhananjay <kdhananj>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 4 Aravinda VK 2016-10-27 05:23:07 UTC
glusterfs-3.9.0rc2 is released[1] and packages are available for different distributions[2] to test.

[1] http://www.gluster.org/pipermail/maintainers/2016-October/001601.html
[2] http://www.gluster.org/pipermail/maintainers/2016-October/001605.html and http://www.gluster.org/pipermail/maintainers/2016-October/001606.html

Comment 5 Aravinda VK 2016-12-06 06:00:28 UTC
Gluster 3.9 GA is released http://blog.gluster.org/2016/11/announcing-gluster-3-9/


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