[sheepdog] [PATCH v4 08/12] gateway: don't skip start_recovery for gateway-only node

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue May 28 05:36:14 CEST 2013


At Tue, 28 May 2013 11:06:59 +0800,
Liu Yuan wrote:
> 
> On 05/28/2013 12:42 AM, MORITA Kazutaka wrote:
> > No need for object recovery because it doesn't recover objects at all.
> > 
> > However, vdi copy list is necessary for gateway I/O operations.  I
> > wonder we should call wait_get_vdis_done() before handling I/Os from
> > QEMU?
> 
> So removing object list for gateway node isn't an easy patch, probably
> we should apply my stupid patch 8/12 and wait for another clean patch
> set that solve the problem.

What we need is making sure that the gateway has vdi copy list before
processing I/O requests.  Calling wait_get_vdis_done() in the recovery
thread doesn't help it, so the gateway doesn't have to call
prepare_object_list() at all.

Thanks,

Kazutaka



More information about the sheepdog mailing list