Re: [sheepdog] RFT: locking issue of qemu-img and qemu-io

2015-01-22 Thread
hi,hitoshi, I have tested this patch using branch https://github.com/sheepdog/qemu/tree/locking with follow methods and results: 1、test qemu-img root@hty-compute1:~# ./qemu-locking/qemu-img create -f raw sheepdog:test 1G Formatting 'sheepdog:test', fmt=raw size=1073741824 root@hty-compute1:~#

Re: [sheepdog] RFT: locking issue of qemu-img and qemu-io

2015-01-22 Thread
oh, yeah, of course :-) Thanks, Xiaolong Xu On Thu, Jan 22, 2015 at 10:52 PM, Hitoshi Mitake mitake.hito...@gmail.com wrote: On Thu, Jan 22, 2015 at 11:24 PM, 徐小龙 nxtxiaol...@gmail.com wrote: Xiaolong Xu nxtxiaol...@gmail.com Thanks, xiaolong xu Thanks for your tag. From next time

[sheepdog] [PATCH] sheep/gateway.c: remove duplicate `if` statement

2014-12-17 Thread
current gateway.c has duplicate `if` statement, this patch remove it Signed-off-by: Xiaolong Xu nxtxiaol...@gmail.com --- sheep/gateway.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sheep/gateway.c b/sheep/gateway.c index 7f7d1d1..91bcad2 100644 --- a/sheep/gateway.c

Re: [sheepdog] [PATCH v2] sheep: let gateway node exit in a case of gateway only cluster

2014-12-16 Thread
hi,Hitoshi we've tested the patch. Our test method is: We attached a 20G sheepdog VDI to a VM holded by openstack. And we created a 2G file which we have it's md5 in hand in the VDI. We killed the non-gateway nodes in the middle of the process, then restarted the cluster. The process resumed

[sheepdog] [PATCH] sheep:Fix data wipe bug in recovery

2014-12-02 Thread
Epoch won't increase if there are only gateway nodes in the cluster. In this way, when the cluster restarts, it will always recovery from a latest epoch version which has at least one non-gateway node in the cluster. This patch fixes bug data wipe bug in the recovery described here: