[Sheepdog] [PATCH 0/2] use corosync for the cluster communication

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Nov 16 05:32:34 CET 2009


On Sun, 15 Nov 2009 22:26:30 +0900
MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> wrote:

> Chris Webb wrote:
> > Hi. I think I'm seeing some data corruption with block device access from
> > qemu. I made a sheepdog backed ext3 filesystem inside a qemu with a live CD,
> 
> (snip)
> 
> > Perhaps only sparsely written vdis are affected?
> 
> Thanks you for the bug report!
> 
> As you say, this problem occurs when updating sparse images. 
> Can you try the following patch?
> 
> =
> >From 9d7e817fd7d614446628083b2049a77f65636d0b Mon Sep 17 00:00:00 2001
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> Date: Sun, 15 Nov 2009 21:46:34 +0900
> Subject: [PATCH] fix vdi object update
> 
> Vdi objects had been corrupted when updating multiple objects
> in which unallocated objects were included.
> This patch updates vdi objects safely.
> 
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
>  block/sheepdog.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

Looks good.

Acked-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>



More information about the sheepdog mailing list