[sheepdog] [PATCH] sheep: remove unused nodes/nr_nodes fields in struct cluster_info

Liu Yuan namei.unix at gmail.com
Wed Jun 27 04:40:03 CEST 2012


On 06/27/2012 04:45 AM, Christoph Hellwig wrote:
> On Tue, Jun 26, 2012 at 07:54:06PM +0800, Liu Yuan wrote:
>> On 06/26/2012 06:24 PM, Christoph Hellwig wrote:
>>> -	struct sd_node nodes[SD_MAX_NODES];
>>> -	int nr_nodes;
>>> -
>>
>> This actually is used by sockfd cache.
> 
> At east the version in the devel branch doesn't use it.  Why would you
> want to use it over the version in struct vnode_info?
> 

Oops, I mistook it.

Thanks,
Yuan




More information about the sheepdog mailing list