From owner-svn-src-head@FreeBSD.ORG Tue Jun 21 06:23:51 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B15106566C; Tue, 21 Jun 2011 06:23:51 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [77.88.46.8]) by mx1.freebsd.org (Postfix) with ESMTP id 529728FC08; Tue, 21 Jun 2011 06:23:51 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward3.mail.yandex.net (Yandex) with ESMTP id 719E6B42AD2; Tue, 21 Jun 2011 10:23:49 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1308637429; bh=yAEV++ke3o74DxMqamOTMEi14BpQpTaHT8PkbZGGjaY=; h=Message-ID:Date:From:MIME-Version:CC:Subject:References: In-Reply-To:Content-Type; b=KIsx8/wLyoL3fX0m7s+TwqU5dHV0t7RMsLEmISVcVaKbYjUvIFVARb6IbMa5LgPaU A7beiGAlAdFgFEoiaOLNYzo2RP9aR5JmCbUkHn74fAGbo3BFmsWT5Xgph2Dg9lDFbJ Nkws6dVMP15GFkmws5XMxXvF8AbpWwfgOoIHxXEI= Received: from [127.0.0.1] (proxy.kirov.so-cdu.ru [77.72.136.146]) by smtp3.mail.yandex.net (Yandex) with ESMTPSA id 0ECD569800BC; Tue, 21 Jun 2011 10:23:49 +0400 (MSD) Message-ID: <4E0038F1.3050906@yandex.ru> Date: Tue, 21 Jun 2011 10:23:45 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 References: <201106210446.p5L4k0IZ080002@svn.freebsd.org> <4E00263C.4040802@yandex.ru> <4E00347A.80407@delphij.net> In-Reply-To: <4E00347A.80407@delphij.net> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5AC99A39D77D396F3B80E683" X-Yandex-Spam: 1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI Subject: Re: svn commit: r223356 - head/sbin/geom/class/part X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 06:23:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5AC99A39D77D396F3B80E683 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 21.06.2011 10:04, Xin LI wrote: >>> Mod the offset padding by alignment. Without this change we may >>> pad too much when underlying GEOM object have a zero stripesize. >=20 >> No. In any way offset value could not be greater than mediasize. > I don't think this changeset do anything with mediasize? I did mean that it could not pad too much. When stripesize is zero the stripeoffset points to real offset from the beginning of device. In case when we have nested partitioning schemes like MBR + BSD, stripeoffset of BSD slice could help align partition to the device. >> And it do nothing when alignment value is 1. >=20 > No, an alignment value of 1 makes offset =3D 0, which is the intended > behavior. >=20 > Or did I misunderstood the code? The problem that Kris reported was not here. I think this change is just for the reassurance. --=20 WBR, Andrey V. Elsukov --------------enig5AC99A39D77D396F3B80E683 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) iQEcBAEBAgAGBQJOADj0AAoJEAHF6gQQyKF6xysH/3W+oFrP14nosy1ZzXXnSSvy BJdoetMW7prInPGczw7Xi65fzBBLN8Y793IbG0jObJrkRHxUoEUnb0TzIvhTnh4b cSLuQLcN6g8FZ4gdwBja9W7k5Kx00b0zRyaz+dMkRqDDumBFole4R8tS3dG7z6o1 nsmFadpuq9wajyk3rTQNmG+fPGAy0K4E689nYcy+5JoxA2/FIvuW2K+LVEZ+Es6E rFjHtusW4yejfIWKTXhSXyLdhi+KA+j/Di5znui6YpWzBwygpcTmdRzbJOfsi9ks WWDFJAc14kPLVdg6SWa01fFSkFciC+VfImRxH9k3f1v3vzfnwenbYLE+JzyMvz0= =w1w+ -----END PGP SIGNATURE----- --------------enig5AC99A39D77D396F3B80E683--