[sheepdog] [PATCH v3] recovery: avoid recovering object from node left

Christoph Hellwig hch at infradead.org
Thu May 24 10:51:23 CEST 2012


> +++ b/include/sheep.h
> @@ -155,9 +155,9 @@ struct sd_node {
>  };
>  
>  struct sd_vnode {
> -	uint64_t        id;
>  	uint8_t         addr[16];
>  	uint16_t        port;
> +	uint64_t        id;
>  	uint16_t	node_idx;
>  	uint32_t	zone;
>  };

Why do you need to change the sd_vnode layout?  Especially as the new
one has a much less efficient layout.




More information about the sheepdog mailing list