Re: [SCSI] mpt2sas T10 DIF fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 20, 2012 at 01:48:19PM +0300, Pasi Kärkkäinen wrote:
> On Sun, Aug 19, 2012 at 12:38:43PM -0400, Martin K. Petersen wrote:
> > >>>>> "Pasi" == Pasi Kärkkäinen <pasik@xxxxxx> 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? 
> 

.. and I probably need to sg_format the backing devices to enable PI before enabling PI for the md/dm device? 

-- Pasi

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux