On Sun, Aug 19, 2012 at 11:18:57AM -0400, Martin K. Petersen wrote:
> >>>>> "Pasi" == Pasi Kärkkäinen <[email protected]> writes:
> 
> Pasi> Btw do you know which LSI mpt2sas HBAs support T10 DIF stuff?
> Pasi> (using 520 or 528 bytes/sector drives with checkums).
> 
> Pasi> LSI SAS2008 based? SAS2308 based?
> 
> SAS2008 and beyond.
>

Ok, good.

> 512-byte logical blocks + 8 bytes of PI. 
>

So physically the disk is using 520 bytes/sector (and needs to support that),
but logically the HBA presents 512 bytes/sector + PI.. is that correct? 

I guess what I'm asking is: Can I use sg_format to enable checksums/protection
on any disk that physically supports 520 bytes/sector,
or does the disk need to have special T10 data protection support aswell? 

> Linux does not support logical block sizes that are not powers of two.
> 

Yep.

Thanks,

-- Pasi

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to