Re: ATA 4 KiB sector issues.

From: Tejun Heo
Date: Mon Mar 08 2010 - 21:43:09 EST


Hello, again.

On 03/09/2010 11:34 AM, Tejun Heo wrote:
>> - parted uses 1MiB alignment for disks with unknown topology, disks
>> with topology information are aligned to optimal (or minimum) I/O
>> size (parted >= 2.1)
>
> This will result in incorrect alignment for drives which lie about the
> physical sector size to work around BIOS/drivers issues (C-1). It
> would probably be best to align to at least 1MiB.

I misread it. C-1 would be disks w/o alignment information which will
be aligned to optimal_io_size which again would be 0 and thus 1MiB
alignment. So, this should work, right?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/