Re: [PATCH] 2.6.35 libata support for > 512 byte sectors (e.g. 4K Native)

Tejun Heo
2010-08-17T15:26:15Z

Hello,

On 08/16/2010 10:24 PM, Grant Grundler wrote:
> I suspect legacy tools might be needed to update firmware and those
> might continue to function if DRQ block size is still 512 byte. I'd
> like to leave this hardcoded to ATA_SECT_SIZE until someone can
> demonstrate a need to change it. Ok?

I agree it'll be best to leave it 512bytes. We'll just cause more
confusion by overriding the sector size there. Another possible
approach would be simply failing the ioctl if logical sector size
isn't 512 byte. The ioctl should probably be deprecated one day
anyway.

Thanks.

--
tejun