Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2011 16:39:20 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        current@FreeBSD.org
Subject:   Re: [PATCH] OpenSolaris/ZFS: C++ compatibility
Message-ID:  <20110205153920.GS2035@garage.freebsd.pl>
In-Reply-To: <4D4C3F89.50700@scsiguy.com>
References:  <4D4C3F89.50700@scsiguy.com>

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

--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--



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