[sheepdog] [PATCH v5] dog: use a minimum number of copies and zones for vdi checking
Liu Yuan
namei.unix at gmail.com
Tue Jan 21 12:16:34 CET 2014
On Tue, Jan 21, 2014 at 07:16:03PM +0900, Hitoshi Mitake wrote:
> Current sheepdog allows the condition of a number of zones < a number
> of copies. But "dog vdi check" cannot handle the case well because it
> tries to create copies of lost/corrupted objects based on
> inode->nr_copies.
>
> This patch lets "dog vdi check" create a minimum number of copies and
> zones.
>
> Reported-by: Marcin Mirosław <marcin at mejor.pl>
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>
> v5:
> - check 0 < inode->copy_policy explicitly for future expansion
> - remove the redundant checking
Applied thanks
Yuan
More information about the sheepdog
mailing list