CTDB with GlusterFS.

Michael Adam obnox at samba.org
Thu Nov 12 06:42:00 UTC 2015


On 2015-11-12 at 13:51 +1100, Martin Schwenke wrote:
> On Wed, 11 Nov 2015 07:26:03 +0100, Ralph Boehme <rb at sernet.de> wrote:
> 
> > On Wed, Nov 11, 2015 at 05:12:31PM +1100, Martin Schwenke wrote:
> > > This would allow you to test the fcntl(2) locking without having all of
> > > CTDB in the way.
> > > 
> > > If you're not a C programmer (though I think this could probably be
> > > done with Python too) then please yell and I'll whip something up for
> > > you to test with...  :-)  
> > 
> > fwiw, I have this WIP patch for ping_pong in a working branch.
> 
> I think we discussed this some time ago and some of us thought there
> were better ways.  I think one reply was probably that it didn't
> belong in ping_pong.   Also, Michael pointed out another way using
> existing ping_pong functionality.
> 
> However, I think your patch creates a very obvious way of testing
> byte-range locks and we should think about how it can be cleaned
> up and pushed.
> 
> You probably need to clean up the repetitive usage checking...  :-)
> 
> Interested to hear what others think.


Just because scripting was mentioned before:

I had in the past started to write a ping_pong clone in python
to allow for more agile hacking on it. Here it is:

git://git.samba.org/obnox/ping-pong-py.git

Also available under

https://github.com/obnoxxx/ping-pong-py.git

Cheers - Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151112/1eeb5106/signature.sig>


More information about the samba-technical mailing list