From owner-freebsd-fs@FreeBSD.ORG Fri May 14 05:52:05 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36FC2106566B; Fri, 14 May 2010 05:52:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAE88FC0A; Fri, 14 May 2010 05:52:04 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4E5qEYe047281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 May 2010 08:52:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4E5q0xS052743; Fri, 14 May 2010 08:52:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4E5q0UI052742; Fri, 14 May 2010 08:52:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 14 May 2010 08:52:00 +0300 From: Kostik Belousov To: Pawel Jakub Dawidek Message-ID: <20100514055200.GM83316@deviant.kiev.zoral.com.ua> References: <4BEB40EB.2030206@acm.poly.edu> <4BEBE634.4080102@FreeBSD.org> <20100513211750.GA2015@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TlDjLAx2PuPdVSSH" Content-Disposition: inline In-Reply-To: <20100513211750.GA2015@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and __FreeBSD_version X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2010 05:52:05 -0000 --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--