[Sheepdog] [PATCH v2 2/2] use binary search in hval_to_sheep()
levin li
levin108 at gmail.com
Mon May 14 09:13:42 CEST 2012
On 05/14/2012 03:11 PM, Liu Yuan wrote:
> On 05/14/2012 02:29 PM, levin li wrote:
>
>> +static inline int bsearch_in_entries(struct sd_vnode *entries,
>> + int nr_entries, uint64_t id)
>
> Maybe get_vnode_pos() is a better name to hide the low level
> implementation and more descriptive of what we gets from the function.
>
> Thanks,
> Yuan
Well, it's ok, I'd send another version.
thanks,
levin
More information about the sheepdog
mailing list