From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 23 06:23:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F131A106566C; Mon, 23 Apr 2012 06:23:54 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6B38FC08; Mon, 23 Apr 2012 06:23:54 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id 23660B801B; Mon, 23 Apr 2012 10:23:48 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id 1D8F8B8008; Mon, 23 Apr 2012 10:23:48 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 14C7FBA020; Mon, 23 Apr 2012 10:23:48 +0400 (MSK) Received: from [127.0.0.1] (elsukov.kirov.oduur.so [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id D1CF9BA00C; Mon, 23 Apr 2012 10:23:47 +0400 (MSK) Message-ID: <4F94F56E.1010501@FreeBSD.org> Date: Mon, 23 Apr 2012 10:23:42 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Marius Strobl References: <4F8999D2.1080902@FreeBSD.org> <20120422212102.GA66855@alchemy.franken.de> In-Reply-To: <20120422212102.GA66855@alchemy.franken.de> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC7029BA0145B0E0BC6B4FC9D" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, Andriy Gapon Subject: Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 06:23:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC7029BA0145B0E0BC6B4FC9D Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 23.04.2012 1:21, Marius Strobl wrote: > I can't say much about these patches as a whole as they are rather > big and I'm not aware of all the details of ZFS. However, one bit that > makes the current implementation x86-specific is zfs_dev_init(). If > you could move it to the MD part in the course of these patches that > would be great. If you could also take the second patch in PR 165025 > into account, which I plan to commit once the issue with the current > ofw_disk.c are properly solved, that would be great. I also have some WIP related to moving partition table handling into MD p= art. You can look here: http://people.freebsd.org/~ae/sys_boot.diff This patch have one problem, there is no way to determine disk size and i'm thinking about adding ioctl(DIOCGMEDIASIZE) to the "disk" devsw. --=20 WBR, Andrey V. Elsukov --------------enigC7029BA0145B0E0BC6B4FC9D 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.10 (MingW32) iQEcBAEBAgAGBQJPlPVzAAoJEAHF6gQQyKF6pzMH/AmB7G4BFMM9jYW8TMIexfOX 7xPLKbgFuIHeMcXyOjZseDEdTrLcC7DsCyS/euT7ScvdcTtImt9mpxSYznRgWZ2Y h+pD2zH1UT3AxPKwMvyIbt54E91W/2m7tDmMskWuFtyWrYlOKzacZlr7QT+ylfqd IotkgPSs1nyEo8+blzEfj7sjLHFVApeclYIeZT8GUQ0iVlHPyQJZ3TPSHGP50ozj VvVT07PZdcf/t73sa8xUdV5sIoN3zV211PNKMuMFvB9DdcP9ZBbiOpYFoUBtLTsa WomrpDKZ8OZr5jbJx7411BnfwgbJzyuxbPune1E1j8ver8rm2YYhdEwAHmXtzr4= =VC6q -----END PGP SIGNATURE----- --------------enigC7029BA0145B0E0BC6B4FC9D--