[Sheepdog] [PATCH 1/2] deleting data objects of a vdi before deleting the inode
Liu Yuan
namei.unix at gmail.com
Tue May 1 14:20:49 CEST 2012
On 05/01/2012 08:13 PM, Christoph Hellwig wrote:
> Current master shows the same behaviour for me. The small patch below
> to revert a tiny bit of the offending commit fixes it, but I didn't
> have time to actually understand why yet, as I've been busy at a
> conference yesterday.
I think it might cluster driver's problem. with corosync driver, it runs
well against latest master branch:
tailai.ly at taobao:~/sheepdog$ ./test.sh
using backend farm store
Name Id Size Used Shared Creation time VDI id Tag
test0 1 1.0 GB 0.0 MB 0.0 MB 2012-05-01 20:17 fd34af
hello world < this is what I typed
Name Id Size Used Shared Creation time VDI id Tag
tailai.ly at taobao:~/sheepdog$ cat test.sh
#!/bin/bash
pkill -9 sheep
#for i in 0 1 2;do fusermount -u store/$i/sheepfs;done
rm store/* -rf
for i in 0 1 2 3; do sheep/sheep -a -d /home/tailai.ly/sheepdog/store/$i
-z $i -p 700$i;sleep 1;done
collie/collie cluster format -b farm
collie/collie vdi create test0 1G
collie/collie vdi list
collie/collie vdi write test0
collie/collie vdi delete test0
collie/collie vdi list
could you try run corosync instead of local driver?
Thanks,
Yuan
More information about the sheepdog
mailing list