[sheepdog] [PATCH v2 1/3] sheep: change gateway_forward_request() for forwarding requests to all other nodes

Liu Yuan namei.unix at gmail.com
Wed Sep 5 07:20:02 CEST 2012


On 09/05/2012 01:12 PM, Hitoshi Mitake wrote:
> Do you mean that target_nodes is an array of struct node_id?

I meant struct sd_nodes targete_nodes[SD_MAX_NODES]

> If so, I agree with your opinion. I'll be able to reduce the conditional
> branches.

Yes, this will remove unnecessary if branches.

Thanks,
Yuan




More information about the sheepdog mailing list