Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2011 22:08:14 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Rick Macklem <rmacklem@uoguelph.ca>, current@freebsd.org, kaduk@MIT.EDU
Subject:   Re: fsid change of ZFS?
Message-ID:  <20110824200813.GC1688@garage.freebsd.pl>
In-Reply-To: <20110824134125.GP17489@deviant.kiev.zoral.com.ua>
References:  <20110824125715.GN17489@deviant.kiev.zoral.com.ua> <1673984146.274156.1314192997207.JavaMail.root@erie.cs.uoguelph.ca> <20110824134125.GP17489@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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