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

From: Tejun Heo
Date: Tue Aug 17 2010 - 11:26:19 EST


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
--
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/