[Sheepdog] [PATCH 3/3] sheep: fix nr_copies in vdi.c

Christoph Hellwig hch at infradead.org
Mon Apr 30 18:03:14 CEST 2012


On Mon, Apr 30, 2012 at 04:53:47PM +0800, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> - for vdi create operation, if we have less available nodes for
>   desired redundancy, simply fail-returen. So no need to change
>   copies into nr_zones.
> - for delete_one, let's keep its origin logic as before commit:
>   ad8c5cf6495

As suggested by Kazum I think stopping to deal with inode->nr_copies
and all passing around of it probably is the best thin we can do in
this area for now.




More information about the sheepdog mailing list