On Thu, 2008-11-06 at 18:10 -0500, Ric Wheeler wrote: > James Bottomley wrote: > > On Thu, 2008-11-06 at 17:55 -0500, Ric Wheeler wrote: > >> I have no idea how we can pass the aggregation size up from the block > >> layer since it is not currently exported in a uniform way from SCSI. > >> Even if it is, we have struggled to get RAID stripe alignment handled so > >> far. > >> > > > > Well, this is identical to the erase block size (and array stripe size) > > problems we've been discussing. I thought we'd more or less agreed on > > the generic attributes model. > > > > We could do it, but need them to put it in a standard place first. > Today, it is exposed only in device specific ways. Actually, I think it is standard. I think it's exposed in READ CAPACITY (16) logical per physical blocks exponent. This also has an analogue in SATA since word 106 of the IDENTIFY DEVICE also contains this. What I'm not clear on is whether SSDs actually implement this for the erase block size (I'm reasonably sure 4k sector devices do). James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html