Re: tools support for non-512 byte sector sizes

From: Jeff Garzik
Date: Tue Jul 29 2008 - 17:54:27 EST


Matthew Wilcox wrote:
On Tue, Jul 29, 2008 at 01:24:31PM -0400, Ric Wheeler wrote:
Jim pinged me about the use case for having our tool chain (parted specifically) support devices with non-512 bytes sectors.

Matt Domsch spoke with me about this at OLS. I took that opportunity,
and I'll take this one, to pimp my ata-ram driver which allows you to
alter the sector sizse to whatever you want:

http://git.kernel.org/?p=linux/kernel/git/willy/misc.git;a=shortlog;h=ata-ram

I'll admit to having not tested it with anything other than 512, but it
ought to support 4096 byte sectors just fine. I haven't looked at what
would be required to support 520-byte sectors.

Jeff, any interest in merging ata-ram soon? I've got some users inside
Intel, and Zab persuaded me to add the multiple port support last night,
so it's not just useful for me. I think it's also a nice template to
have around to show how to write a minimal libata driver.

I'm happy to include ata_ram whenever it is working and you think it's ready for inclusion.

Jeff



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