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

Karel Zak kzak at redhat.com
Thu Dec 20 19:21:05 UTC 2012


On Thu, Dec 20, 2012 at 11:35:02AM -0500, Phillip Susi wrote:
> The kernel just returns zeros for drives exactly for this reason, in
> which case going with 1 MiB default is a good best guess.  Hopefully
> in the future this situation will improve and the hardware can report
> appropriate values that the kernel can then pass up the stack.

 I forgot one important reason for 1MiB, many people asked for device
 independent partitions layout if possible. So you can dd(1) your
 partition table and data from on one device to another device without
 care about I/O limits.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com



More information about the parted-devel mailing list