[sheepdog] [PATCH] sheep: check whether there is a pending recovery correctly

Liu Yuan namei.unix at gmail.com
Sat May 11 06:59:56 CEST 2013


On 05/10/2013 10:59 PM, MORITA Kazutaka wrote:
> Comparing current_rinfo->epoch and sys->epoch is not enough because sheep may
> start recovery without incrementing sys->epoch (e.g. unplugging a md disk).
> Checking next_rinfo is correct and more straightforward.
> 
> This fixes an error of tests/056.

Applied thanks.

Yuan



More information about the sheepdog mailing list