[sheepdog] [PATCH] use binary search in newly_joined()

Christoph Hellwig hch at infradead.org
Mon May 28 12:40:21 CEST 2012


On Mon, May 28, 2012 at 06:08:45PM +0800, levin li wrote:
> From: levin li <xingke.lwp at taobao.com>
> 
> We can sort the old node list before recovery start,
> then we can use binary search in newly_joined() to make it faster.
> 
> Signed-off-by: levin li <xingke.lwp at taobao.com>

Looks good to me.




More information about the sheepdog mailing list