From owner-freebsd-geom@FreeBSD.ORG Tue May 24 19:18:56 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA196106564A; Tue, 24 May 2011 19:18:56 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 479988FC14; Tue, 24 May 2011 19:18:56 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward1.mail.yandex.net (Yandex) with ESMTP id 812F31243612; Tue, 24 May 2011 23:18:54 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1306264734; bh=8PBZ/9Sp51n/4enz6wkyG+gleRtkw1hN3F/XK3We2n0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=mvFKX7FBYbOEWOXDt+nWGyQ0vKTKtPYj1hQ1Lf5YGXcDbJRnGNPVRbIu761/LWeVE Uem44PduMX8URFO1yp/FkxkjrJyAxF6t/W+yIffGHnkNeK1ZjppK2M5cKrB7I4/S1H V7nsoMUE8wX62crEit8ebUIaMwVMVbkXvnEnGPmc= Received: from [178.141.127.176] (dynamic-178-141-127-176.kirov.comstar-r.ru [178.141.127.176]) by smtp1.mail.yandex.net (Yandex) with ESMTPSA id 19D3810000A7; Tue, 24 May 2011 23:18:54 +0400 (MSD) Message-ID: <4DDC049C.7070904@yandex.ru> Date: Tue, 24 May 2011 23:18:52 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: Marcel Moolenaar References: <4DDA2F0B.2040203@yandex.ru> <9ED563AB-7B35-40F4-A33E-015317858401@bsdimp.com> <4DDB5375.6050004@FreeBSD.org> <2FCA1E3C-E11C-46C9-A41B-E5DF4D8BA1FC@bsdimp.com> <9B250685-62F2-4AF7-BDCC-D176FA3C6FCD@mac.com> In-Reply-To: <9B250685-62F2-4AF7-BDCC-D176FA3C6FCD@mac.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig38DEF71BC7F6700B4C8B7EAD" X-Yandex-Spam: 1 Cc: Andriy Gapon , Warner Losh , freebsd-geom@FreeBSD.org Subject: Re: [RFC] Remove requirement of alignment to track from MBR scheme X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2011 19:18:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig38DEF71BC7F6700B4C8B7EAD Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 24.05.2011 22:12, Marcel Moolenaar wrote: >=20 > On May 24, 2011, at 10:46 AM, Warner Losh wrote: >>> All I'm saying: be careful. >> >> Agreed. But the care should be on the creation side, not on the inter= pretation side. >=20 > ... as the original code was. We just need to add a sanity > check to the interpretation that filters out the real bogus > information (resulting in a partition with negative size). A partition with negative size is not the one problem. Some time ago i found an easy reproducible bug, when BSD scheme creates providers with size bigger than parent provider size. Also there was nothing against creation of overlapped partitions. > With respect to the creation: >=20 > Since out synthesized geometry is not necessarily the same > as other OSes, we could opt to synthesize a geometry that > has a track size (=3D sectors/track) that is a multiple of 8 > (to play nice with 4K sectors), and/or take the stripe > size of the underlying GEOM into account. This fundamentally > doesn't change a thing for MBR, but has the side effect of > achieving some of the goals *and* automatically works for > EBR as well. Today's devices do not report about their 4k sectors. > Thus: rather than hack MBR and forgetting about EBR and other I do not forget about EBR, PC98 and VTOC8. But we need begin from somethi= ng. > schemes, maybe we only have to tweak the geometry synthesis > to give people what they want without going over board. After > 9.0 branched, we can do a lot more knowing we have plenty > of soak time... Ok, i can revert all related changes and just do nothing :) It seems it is better solution :) --=20 WBR, Andrey V. Elsukov --------------enig38DEF71BC7F6700B4C8B7EAD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJN3AScAAoJEAHF6gQQyKF6/kAH+QEWQhxGphQstogOG9UuwJb8 nlhH7njEyGNpxGFKP3a+uP09IF0Ja6EYOoHV8rz8VZFN1/q5jln/xveZNjtb+7Hl xd4EiWfMc/F/3XlfZvMKa56mXm/0rIfju2tBCH42ViTs1Dizds8cBxRkxy26Unb1 7g2boPZcRc1B8/t0t2VTfwi7I9ZMR9VxXR77GjOa6gKnk33BD3H/FXj8Bux9QQ2r 903NliODwsen0mYsfXcTh81G2zSjclRtKmREfmg4IvZwWU/GCvoRZ473CsDT3B5V lRAJN6UuYZJtw1cAwadxQRQIlrCh+eHbH+JBFTiBMe+8Cobl22Bb0MmSSN+jaig= =PZ5t -----END PGP SIGNATURE----- --------------enig38DEF71BC7F6700B4C8B7EAD--