Re: ping_pong test failes with gluster 3.4.3-3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael,
    Could you try the test with "gluster volume set testgl cluster.eager-lock off".

If you confirm, we may have to backport the following patch from master/3.5

commit 36b102645ab66d141dcc831e67caa78966d45419
Author: Pranith Kumar K <pkarampu@xxxxxxxxxx>
Date:   Tue Jul 30 18:29:15 2013 +0530

    cluster/afr: Disable eager-lock if open-fd-count > 1
    
    Lets say mount1 has eager-lock(full-lock) and after the eager-lock
    is taken mount2 opened the same file, it won't be able to
    perform any data operations until mount1 releases eager-lock.
    To avoid such scenario do not enable eager-lock for transaction
    if open-fd-count is > 1. Delaying of changelog piggybacking is
    avoided in this situation.
    
    Change-Id: I51b45d6a7c216a78860aff0265a0b8dabc6423a5
    BUG: 910217
    Signed-off-by: Pranith Kumar K <pkarampu@xxxxxxxxxx>
    Reviewed-on: http://review.gluster.org/5432
    Tested-by: Gluster Build System <jenkins@xxxxxxxxxxxxxxxxx>
    Reviewed-by: venkatesh somyajulu <vsomyaju@xxxxxxxxxx>
    Reviewed-by: Vijay Bellur <vbellur@xxxxxxxxxx>


Pranith
----- Original Message -----
> From: "Michael Bachmor" <spam500@xxxxxx>
> To: gluster-users@xxxxxxxxxxx
> Sent: Thursday, April 24, 2014 7:57:46 PM
> Subject:  ping_pong test failes with gluster 3.4.3-3
> 
> Hello,
> 
> i have a replica gluster with to node ( centos 6.5 )
> 
> create gluster with:
> gluster volume create testgl replica 2 transport tcp
> node1:/gluster/testgl/brick/ node2:/glusterfs/testgl/brick/
> 
> 
> info:
> gluster volume info
> 
> Volume Name: testgl
> Type: Replicate
> Volume ID: 5c820047-76d2-46c9-908b-520df0c8ba8c
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: node1:/gluster/testgl/brick
> Brick2: node2:/gluster/testgl/brick
> 
> 
> mount gluster:
> node1:
> mount -t glusterfs node1:testgl /mnt/
> node2:
> mount -t glusterfs node2:testgl /mnt/
> 
> 
> ping_pong test:
> node1:
> start:
> ping_pong -rw /mnt/test 3
> data increment = 1
> 930 locks/sec
> 
> start node2:
> nothing / hang - as long as is terminated on node1
> 
> 
> filesytem: test ext4 and xfs
> /dev/xvdb1 on /gluster/testgl type ext4
> 
> what es wrong?
> 
> what information you need yet?
> 
> thanks
> 
> Michael Bachmor
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux