Re: fsid change of ZFS?

看板FB_current作者時間14年前 (2011/08/21 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/35 (看更多)
On Sat, 20 Aug 2011, Rick Macklem wrote: >> Yes, using vfs_getnewfsid() does not solve the issue. >> >> I noticed that Solaris looked up a fixed array vfssw[] exactly for >> the purpose. I think a table like it is a good solution for fixing >> fsid for each file system. >> >> -- Hiroki > If anyone thinks using a fixed table to assign vfc_typenum for known > file system types is a bad idea, please let us know. Fixed table sounds like a good plan. Is there a reason for/against using a hash table for types that are not in the fixed table? The advantage would be that out-of-tree filesystems get a consistent typenum (modulo hash collisions), but there would be more overhead in maintaining the table. -Ben Kaduk _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EK7mpfd (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EK7mpfd (FB_current)