From owner-freebsd-arch@FreeBSD.ORG Sat Aug 29 14:25:10 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from straylight.ringlet.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with SMTP id 3836B1065674 for ; Sat, 29 Aug 2009 14:25:08 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 3232 invoked by uid 1000); 29 Aug 2009 14:25:07 -0000 Date: Sat, 29 Aug 2009 17:25:07 +0300 From: Peter Pentchev To: Attilio Rao Message-ID: <20090829142507.GA1141@straylight.m.ringlet.net> References: <3bbf2fe10908281904l6f8119a5l2daa301016eac8ef@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <3bbf2fe10908281904l6f8119a5l2daa301016eac8ef@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Konstantin Belousov , freebsd-arch@freebsd.org Subject: Re: [PATCH] VFS KPI/API versioning X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 14:25:10 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 29, 2009 at 04:04:55AM +0200, Attilio Rao wrote: [snip] > Something that concerned me is also the mis-usage of the VFS_VERSION > macro, which can be easilly used at compile time in order to determine > if a feature is present or not. Basically, I have no idea by when it > doesn't get updated and if it has ever been checked in our codes. It > seems to use a random number as the start count, while it could have > been handled differently. Maybe it would be the case to start taking > care of that too, which can be an interesting tool. Quite offtopic, just a note about the "random number as the start count" part - it's not exactly random; take a "fgrep 1966" to calendar.freebsd ;) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@space.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This would easier understand fewer had omitted. --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEUEARECAAYFAkqZOkMACgkQ7Ri2jRYZRVOE2ACYs9roEnhRJRz6HB2x1gb0txtT 0ACfW9oIuc478IO+vU/x2FeU8D3+Hts= =W7Cb -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--