Re: ATA 4 KiB sector issues.

From: Tejun Heo
Date: Mon Mar 08 2010 - 21:51:57 EST


Hello,

On 03/09/2010 11:42 AM, Jeff Garzik wrote:
> On 03/08/2010 09:34 PM, Tejun Heo wrote:
>> libata is broken for logical 4KiB ATA devices tho. I'll fix it up.
>
> Does libata-dev.git#sectsize miss any details?

I haven't looked at it yet. I'll review it soon but the thing is
without actual hardware it would be a bit difficult to tell. It's not
only the drivers. I have this mighty unhappy feeling that some
controllers (especially some of the SATA ones with internal state
machine to emulate SFF) would be sniffing the commands and making the
wrong assumption if 4KiB logical sector size is used, so we'll need to
test various controllers. Some PATA-SATA bridge chips will definitely
be having problems too. Then there are the USB and other bridges too
but well those aren't libata's problem at least. :-)

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/