[sheepdog] [PATCH 3/3] sheep: split notification messages into two queues

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Aug 31 05:44:15 CEST 2012


At Fri, 31 Aug 2012 10:47:49 +0800,
Liu Yuan wrote:
> 
> On 08/30/2012 08:36 AM, MORITA Kazutaka wrote:
> > Currently, the corosync driver uses two queues, confchg_list and
> > notify_list.  However, this causes problems because some messages
> > (e.g. format, shutdown, cluster snapshot, ...) needs to be ordered
> > with confchg events.
> > 
> > This patch splits multicast messages into two queues, block_list and
> > nonblock_list.  All block messages (e.g. vdi creation, etc) are linked
> > into block_list queue, and other notification messages and confchg
> > events are linked into nonblock_list.
> 
> Will this change work out with zookeeper driver?

IIUC, the zookeeper driver doesn't use a different queue for confchg
events, so this patch doesn't affect the driver at all.  Using a
single queue means that the zookeeper driver cannot pass test 026, but
it's another problem to be fixed.

The local cluster driver also has the same problem.  I'll send a fix
later.

Thanks,

Kazutaka



More information about the sheepdog mailing list