Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 08:52:00 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and __FreeBSD_version
Message-ID:  <20100514055200.GM83316@deviant.kiev.zoral.com.ua>
In-Reply-To: <20100513211750.GA2015@garage.freebsd.pl>
References:  <4BEB40EB.2030206@acm.poly.edu> <4BEBE634.4080102@FreeBSD.org> <20100513211750.GA2015@garage.freebsd.pl>

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

--TlDjLAx2PuPdVSSH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 13, 2010 at 11:17:50PM +0200, Pawel Jakub Dawidek wrote:
> On Thu, May 13, 2010 at 07:44:52AM -0400, John Baldwin wrote:
> > Boris Kochergin wrote:
> > >Hi. Can __FreeBSD_version be bumped if ZFS's userland API is ever=20
> > >changed again? I got slightly bitten by the=20
> > >state_to_name()-to-zpool_state_to_name() change from version 6 to=20
> > >version 13 and would like a reliable way of keeping track of this type=
=20
> > >of stuff in the future. Thanks.
> >=20
> > Yes, it should be bumped anytime the API changes.  That is definitely a=
=20
> > bug that it wasn't done properly last time.
>=20
> I must disagree here. libzfs API is for ZFS internal use only and is
> subject to change at any time. This is true for OpenSolaris as well.
> We, of course, can bump __FreeBSD_version if it helps, but one shouldn't
> expect libzfs API being stable or there is any care taken to maintain
> backward compatibility.

I agree with you, but please note that the _library_ version bump on import
would be right and useful thing, if not already done.

--TlDjLAx2PuPdVSSH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkvs5QAACgkQC3+MBN1Mb4jLiACeMUu52M5lKfn6HNHBzZwOvD5d
ugsAoJBD4XWLR64+lzhR6AwlGHAkcmpB
=09I5
-----END PGP SIGNATURE-----

--TlDjLAx2PuPdVSSH--



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