[sheepdog] [PATCH 4/9] sheep: exit program when EIO occurs

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Sep 18 01:43:31 CEST 2012


At Mon, 17 Sep 2012 18:19:29 +0800,
Liu Yuan wrote:
> 
> On 09/17/2012 01:52 PM, Liu Yuan wrote:
> > I don't get the point. recalculate_vnodes() does recalculate vnodes on
> > LEAVE event. no?
> 
> I guess you just tested EIO with local driver, which doesn't handle
> driver->leave() correctly: it doesn't send signal to itself.

Yes, I tested with local driver and misunderstood that left nodes
cannot receive notification events after the leave_cluster call.
Sorry for that.

> 
> I have tested EIO with corosync driver, it works. So I am going to write
> a patch mainly revert the effect and add some more debug info.

Thanks.  I'll add a test to check disk error handling and release
0.5.0 after the test.

Kazutaka



More information about the sheepdog mailing list