Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 20:59:46 -0700
From:      "Long, Scott" <scott_long@btc.adaptec.com>
To:        "'Garrett Wollman'" <wollman@khavrinen.lcs.mit.edu>
Cc:        arch@freebsd.org
Subject:   RE: Arch question for a UDF FS driver
Message-ID:  <E0BFB46945D5D411BB590000D11ABE920334A2@btcexc01.btc.adaptec.com>

next in thread | raw e-mail | index | archive | help
> Hash the Unique Id into 31 bits (e.g., u_id % 2147483647).  Renumber
> any collisions into the space above 2**31.  You would still need to
> keep some state when there is a collision, but if the Ids are
> assigned sequentially then you are likely to win most of the time.

Interesting idea.  Like I said, consuming 32 bits within the life of the
filesystem is going to be pretty hard.

> I don't see what this has to do with vget(), however.

not vget() itself, the vget vfsop.  Unless I'm totally clueless here, the
vget vfsop is supposed to return the vnode that repesents the passed in
ino_t.

Scott

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0BFB46945D5D411BB590000D11ABE920334A2>