[parted-devel] [PATCH 6/6] libparted: fix optimal IO alignment

Phillip Susi psusi at ubuntu.com
Sun Dec 16 05:11:14 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/15/2012 08:44 PM, Jim Meyering wrote:
> That code seems to be trying to exclude opt/min values that do not
> evenly divide PED_DEFAULT_ALIGNMENT.  That makes sense only when
> they're no larger than PED_DEFAULT_ALIGNMENT. How about keeping the
> sanity-check, but applying it only when those values are no larger?
> I.e.,

Why do you think it makes sense when the kernel value is under 1 MB?
PED_DEFAULT_ALIGNMENT is all well and good when the kernel doesn't
know of a better value, but if it thinks that the optimal alignment is
say, 768k, why should we disregard that?



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQzVfyAAoJEJrBOlT6nu75RiIH/idEvsRp10qEyz+MK0EOLRIS
5UXORhTOT0yDGajSilFPqgGxPvalkC3fP8N4DkJhMBSw0jZrn6uMYYiAlIde+OOK
LwgFdZqpP+wJf3q+RmgF//XxXnuiE8Qb0f5InBkMbXP7/kdlaQ7ApbDoe5qHbQoF
leXi3zerdrBILMLoLlIMmp+yGNPqMdJXyHGzXOtDSdGDGD/Lm0qUlvhETYEJIt8i
PUVs8Jwv92EbxK3LvEJd+7ihEGKHrUqPDC+joEE3biPabi90uVnuYXFGU1arUSHp
FZlIPJgVUIlFAP2ATBPs+gvnwm6GcZGH99yT+ZXqPcLP1bT7RGiakcgv+8ig+xk=
=8R5M
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list