Wes Peters <[EMAIL PROTECTED]> writes:
> Are hash collisions handled reasonably?

No, they're not handled at all. :-)  Doing that would require:

1. remembering all the nodes that we have seen and the hash values
   given to them
2. having some backup-hash to use for the node that collides and then
   re-hash it (and remember that).

The code is basically:

vap->va_fileid = hash(fid);

/assar


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to