[sheepdog] [PATCH] local: return false for all blocking events in local_process_event

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jul 10 19:39:32 CEST 2012


At Tue, 10 Jul 2012 12:42:25 -0400,
Christoph Hellwig wrote:
> 
> This fixes a regression in
> 
>    "cluster/local: process multiple events in local_handler"
> 
> after that patch we may busy loop under the shared memory area lock
> when waiting for a join request to be answered, or when another
> blocking even arrives while one is already beeing processed.
> 
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> ---
>  sheep/cluster/local.c |    9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list