On Sun, Aug 19, 2012 at 12:38:43PM -0400, Martin K. Petersen wrote:
> >>>>> "Pasi" == Pasi Kärkkäinen <[email protected]> writes:
>
> Pasi> So physically the disk is using 520 bytes/sector (and needs to
> Pasi> support that), but logically the HBA presents 512 bytes/sector +
> Pasi> PI.. is that correct?
>
> Yep. The beauty of PI is that we can store the extra stuff without
> having to deal with weird block sizes.
>
>
> Pasi> I guess what I'm asking is: Can I use sg_format to enable
> Pasi> checksums/protection on any disk that physically supports 520
> Pasi> bytes/sector, or does the disk need to have special T10 data
> Pasi> protection support aswell?
>
> The disk needs to support T10 PI (PROTECT=1 in the Standard Inquiry VPD
> page). We don't support driving the HBA in PI mode with a non-PI target.
>
Btw do you know the current status of T10 PI support in md/dm raid?
If I understood correctly there's some support for raid0/raid1 implemented..
Are there any docs how to enable/disable/configure T10 PI for md/dm raid?
Perhaps the <bdev>/integrite/{write_enable|read_verify} work directly for the
md/dm device?
Thanks a lot!
-- 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