From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 15:39:45 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88178106566B for ; Sat, 5 Feb 2011 15:39:45 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 32D968FC0A for ; Sat, 5 Feb 2011 15:39:44 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 48C2C45CA6; Sat, 5 Feb 2011 16:39:43 +0100 (CET) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2147045683; Sat, 5 Feb 2011 16:39:38 +0100 (CET) Date: Sat, 5 Feb 2011 16:39:20 +0100 From: Pawel Jakub Dawidek To: "Justin T. Gibbs" Message-ID: <20110205153920.GS2035@garage.freebsd.pl> References: <4D4C3F89.50700@scsiguy.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f0Ums9VvOMUG7syy" Content-Disposition: inline In-Reply-To: <4D4C3F89.50700@scsiguy.com> 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: current@FreeBSD.org Subject: Re: [PATCH] OpenSolaris/ZFS: C++ compatibility X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 15:39:45 -0000 --f0Ums9VvOMUG7syy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 04, 2011 at 11:03:53AM -0700, Justin T. Gibbs wrote: > The attached patch is sufficient to allow a C++ program to use libzfs. > The motivation for these changes is work I'm doing on a ZFS fault > handling daemon that is written in C++. SpectraLogic's intention > is to return this work to the FreeBSD project once it is a bit more > complete. >=20 > Since these changes modify files that come from OpenSolaris, I want to be > sure I understand the project's policies regarding divergence from > the vendor before I check them in. All of the changes save one should > be trivial to merge with vendor changes and I will do that work for the > v28 import. Is there any reason I should not commit these changes? Now that OpenSolaris is dead we don't have to be so strict with keeping the diff against vendor small at all cost. I'd prefer not to modify vendor code whenever possible so it is easier for us to cooperate with IllumOS (we already took ome code from them). Me and my company are also interested in fault management daemon (although not restricted to ZFS, but a more general purpose mechanism like FMA in Solaris). My question would be are there any chances you may be convinced to use plain C? With C we might be able to help, but not with C++. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --f0Ums9VvOMUG7syy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1NbycACgkQForvXbEpPzT5NACglab+5EDUOEemD/uwoxqWvTXU SYsAnjQ3EU00Ff5qQTLDYdQawYWNh2h6 =Ornw -----END PGP SIGNATURE----- --f0Ums9VvOMUG7syy--