From owner-freebsd-arch Wed Feb 28 20: 0:25 2001 Delivered-To: freebsd-arch@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id D102237B718 for ; Wed, 28 Feb 2001 20:00:23 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id TAA11797; Wed, 28 Feb 2001 19:59:49 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id TAA05590; Wed, 28 Feb 2001 19:52:05 -0800 (PST) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id UAA28638; Wed, 28 Feb 2001 20:59:45 -0700 (MST) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2650.21) id ; Wed, 28 Feb 2001 20:59:46 -0700 Message-ID: From: "Long, Scott" To: "'Garrett Wollman'" Cc: arch@freebsd.org Subject: RE: Arch question for a UDF FS driver Date: Wed, 28 Feb 2001 20:59:46 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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