On 07/28/2010 10:03 PM, Wengang Wang wrote:
> Yes, I can see what you are doing there.
> But you are comparing twice. I was emphasising "again" :)
> The bhregions is like a collection. we say collection A is equal to
> collection B, it can mean the number is equal, and all elements in
> collection A are all in collection B. So no need to compare each region
> again.
>    

Sorry, my example was not correct. What if node sends regions A, B, A
while the receiving node expects A, B, C. It should not happen.
But considering we rely on the hb regions being consistent, we can
never be too careful.

Agreed, I can come up with another scheme. But here the max
is small. And in such cases, brute force typically works best.

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to