Re: fsid change of ZFS?

看板FB_current作者時間14年前 (2011/08/25 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串27/35 (看更多)
--oJ71EGRlYNjSvfq7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 24, 2011 at 04:41:25PM +0300, Kostik Belousov wrote: > On Wed, Aug 24, 2011 at 09:36:37AM -0400, Rick Macklem wrote: > > Well, doesn't this result in the same issue as the fixed table? > > In other words, the developer has to supply the "suggested byte" for > > fsid and make sure that it doesn't conflict with other "suggested byte" > > values or suffer the same consequence as forgetting to update the fixed > > table. (ie. It just puts the fixed value in a different place, from what > > I see, for in-tree modules. Also, with a fixed table, they are all in > > one place, so it's easy to choose a non-colliding value?) > The reason for my proposal was Pawel note that a porter of the filesystem > should be aware of some place in kern/ where to register, besides writing > the module. Well, he has to be aware, but we should do all we can to minimize the number of place he needs to update, as it is easy to forget some. I agree with Rick that what you proposed is similar to fixed table of file system names and I'd prefer to avoid that. If we can have name-based hash that produces no collision for in-tree file systems and know current 3rd party file systems plus collision detection for the future then it is good enough, IMHO. And this is what Rick proposed with his patch. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --oJ71EGRlYNjSvfq7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk5VWi0ACgkQForvXbEpPzRlbwCg5jmtdAPHJwEVo0iSXLHkvDX5 LiYAn0K+1u1VV3u4a2VHtxYHr1dFS2Fi =OyGc -----END PGP SIGNATURE----- --oJ71EGRlYNjSvfq7--
文章代碼(AID): #1ELL_3L4 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1ELL_3L4 (FB_current)