Date: Tue, 21 Jun 2011 10:23:45 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI <delphij@FreeBSD.org> Subject: Re: svn commit: r223356 - head/sbin/geom/class/part Message-ID: <4E0038F1.3050906@yandex.ru> In-Reply-To: <4E00347A.80407@delphij.net> References: <201106210446.p5L4k0IZ080002@svn.freebsd.org> <4E00263C.4040802@yandex.ru> <4E00347A.80407@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E0038F1.3050906>