From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RObOf-0006tP-OQ for mharc-grub-devel@gnu.org; Thu, 10 Nov 2011 15:38:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RObOd-0006tJ-8H for grub-devel@gnu.org; Thu, 10 Nov 2011 15:38:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RObOb-0006tT-PI for grub-devel@gnu.org; Thu, 10 Nov 2011 15:38:51 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RObOb-0006tK-GW for grub-devel@gnu.org; Thu, 10 Nov 2011 15:38:49 -0500 Received: by faas10 with SMTP id s10so889299faa.0 for ; Thu, 10 Nov 2011 12:38:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=6NVyzWsnTPwMnnDPehmkkhLpcDP/uNTd0N9UdBY2dQ4=; b=E9TTd+8FNHjDl5DZefyS1fdtcbF+51LA+mQr2Hr4Blv7f/08XfooQ+bD2jx3fa3M+j 336G5LynkDTzMUO/FDm5ppgDljD4V+dGxDKdcEsDZJO7iLXsWM0KR4rfO6N4e3wfUZjT PLsTyjs/vafjP+TH5b4bMZvaV5gaRXVM5T27w= Received: by 10.223.77.66 with SMTP id f2mr14207475fak.24.1320957528492; Thu, 10 Nov 2011 12:38:48 -0800 (PST) Received: from debian.x201.phnet (gprs09.swisscom-mobile.ch. [193.247.250.9]) by mx.google.com with ESMTPS id d22sm12584090fad.19.2011.11.10.12.38.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Nov 2011 12:38:46 -0800 (PST) Message-ID: <4EBC3654.5070305@gmail.com> Date: Thu, 10 Nov 2011 21:38:44 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Iceowl/1.0b2 Icedove/3.1.15 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [Patch] Enable libzfs detection on Linux References: <37B025F9-45D9-4424-8458-6B40D2D5A249@gmail.com> <4E4D42A8.4000503@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigF7445AC7110C0DC9844D55E6" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 20:38:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF7445AC7110C0DC9844D55E6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10.11.2011 21:02, Robert Millan wrote: > Hi Zachary, > > 2011/9/14 Zachary Bedell : >> FWIW, my commit comment locally for this was: >> * Adjusts autoconf logic to properly detect libzfs on Linux. >> * Includes additional headers necessary for libspl. > Excuse me if I missed something, but weren't you holding the position > that libzfs ABI was too unstable and relying on it from external > programs was a bad idea? > > Recently Debian has had severe problems in this area because of this. > C.f. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D645305 > > Last month I sent a proof of concept patch that implements this idea > (in "getroot for ZFS without libzfs?" thread). Did you see this part > of the thread? The patch has several problems. It seems to definitely commit us to the improper assumption of uniqueness of ZFS names. Even when there are several zpools with the same name you can still mount them by unique ID. Or a devices with conflicting name could have been added after one pool was mounted. Also it goes against the general direction towards deprecation of both device.map and complete scanning of devices in both tools and proper (it creates problems like floppy seeks or hangs with some drivers) (see my series of patches for "pulling" devices and lazy scans). If zpool has something similar to mdadm --export we can use it. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigF7445AC7110C0DC9844D55E6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk68NlQACgkQNak7dOguQgnVBwD6ArPNzWWXwWv3Q6DLgDvJVBzX qohOUsu2Zwo8PlXRHhAA/2z9S/4pyp51CEPmMRUpJNhCASfhzdsw97Rog4udxELZ =8vuU -----END PGP SIGNATURE----- --------------enigF7445AC7110C0DC9844D55E6--