From owner-freebsd-fs@FreeBSD.ORG Fri May 14 06:13:21 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 94EA9106567C; Fri, 14 May 2010 06:13:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id D77448FC0A; Fri, 14 May 2010 06:13:20 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C96F445E6F; Fri, 14 May 2010 08:13:18 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 8468845CAC; Fri, 14 May 2010 08:13:13 +0200 (CEST) Date: Fri, 14 May 2010 08:13:03 +0200 From: Pawel Jakub Dawidek To: Kostik Belousov Message-ID: <20100514061303.GB2015@garage.freebsd.pl> References: <4BEB40EB.2030206@acm.poly.edu> <4BEBE634.4080102@FreeBSD.org> <20100513211750.GA2015@garage.freebsd.pl> <20100514055200.GM83316@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: <20100514055200.GM83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 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 06:13:21 -0000 --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 14, 2010 at 08:52:00AM +0300, Kostik Belousov wrote: > 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 ty= pe=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. >=20 > I agree with you, but please note that the _library_ version bump on impo= rt > would be right and useful thing, if not already done. No it wasn't done. It probably should be done to avoid confusion, although it is still unlikely that old libzfs.so left after upgrade will work with zfs.ko. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvs6e8ACgkQForvXbEpPzT7wACdG6sfPOD07lbwKOQ2aaxQtxbK IEAAoLbkXplEsfuNV0zvu5MxObVTzHBI =tUmb -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--