fsid change of ZFS?
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Aug 23 15:10:59 UTC 2011
On Tue, Aug 23, 2011 at 10:09:41AM -0400, Rick Macklem wrote:
> Ok, I'll admit I wasn't very fond of a fixed table that would inevitably
> get out of date someday, either.
>
> I didn't think hashing for the cases not in the table was worth the effort,
> but doing a hash instead of a table seems reasonable.
>
> I see that ZFS only uses the low order 8 bits, so I'll try and come up
> with an 8bit hash solution and will post a patch for testing/review soon.
>
> I don't think the vfs_sysctl() is that great a concern, given that it
> appears to be deprecated already anyhow. (With an 8bit hash, vfs_typenum
> won't be that sparse.) I'll also make sure that whatever hash I use
> doesn't collide for the current list of file names (although I will include
> code that handles a collision in the patch).
Sounds great. Thanks!
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110823/9987b5d1/attachment.pgp
More information about the freebsd-current
mailing list