Re: [SCSI] mpt2sas T10 DIF fixes

2012-10-02 Thread Martin K. Petersen
> "Pasi" == Pasi Kärkkäinen writes: >> 2 of the patches are absolutely trivial and should just be applied. >> However, LSI objects to patch #3 which tweaks an incorrect NVDATA >> flag from within the driver. >> >> Instead LSI has promised to revert to the original behavior in their >> firmwa

Re: [SCSI] mpt2sas T10 DIF fixes

2012-10-01 Thread Pasi Kärkkäinen
On Fri, Aug 17, 2012 at 12:00:55PM -0400, Martin K. Petersen wrote: > > "Ankit" == Ankit Jain writes: > > Ankit> Will these patches be merged? Or have they been superseded by > Ankit> some other patchset? > > Sorry, I've been out on vacation. > > 2 of the patches are absolutely trivial and

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-22 Thread Martin K. Petersen
> "dj" == Jiang, Dave writes: >> Yes. The only thing that doesn't work is RAID5/6. dj> Just curious, has any work been done on this? Wondering what the dj> roadblocks are to get this support in Nobody has done the work, that's all. And it's not entirely trivial. The 8 bytes of metadata

RE: [SCSI] mpt2sas T10 DIF fixes

2012-08-21 Thread Jiang, Dave
rg; > james.bottom...@hansenpartnership.com; eric.mo...@lsi.com > Subject: Re: [SCSI] mpt2sas T10 DIF fixes > > >>>>> "Pasi" == Pasi Kärkkäinen writes: > > Pasi> Btw do you know the current status of T10 PI support in md/dm > Pasi> raid? If I underst

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Pasi Kärkkäinen
On Mon, Aug 20, 2012 at 08:43:49PM -0400, Martin K. Petersen wrote: > > "Pasi" == Pasi Kärkkäinen writes: > > Pasi> .. and I probably need to sg_format the backing devices to enable > Pasi> PI > > Yes. Unless the drive is already formatted with PI. The latter is > becoming increasingly commo

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Pasi Kärkkäinen
On Mon, Aug 20, 2012 at 08:40:21PM -0400, Martin K. Petersen wrote: > > "Pasi" == Pasi Kärkkäinen writes: > > Pasi> Btw do you know the current status of T10 PI support in md/dm > Pasi> raid? If I understood correctly there's some support for > Pasi> raid0/raid1 implemented.. > > Yes. The o

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Martin K. Petersen
> "Pasi" == Pasi Kärkkäinen writes: Pasi> .. and I probably need to sg_format the backing devices to enable Pasi> PI Yes. Unless the drive is already formatted with PI. The latter is becoming increasingly common as a PI-drive will work just fine in a "legacy" setup. Many current drives provi

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Martin K. Petersen
> "Pasi" == Pasi Kärkkäinen writes: Pasi> Btw do you know the current status of T10 PI support in md/dm Pasi> raid? If I understood correctly there's some support for Pasi> raid0/raid1 implemented.. Yes. The only thing that doesn't work is RAID5/6. Pasi> Are there any docs how to enable/d

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Pasi Kärkkäinen
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 writes: > > > > Pasi> So physically the disk is using 520 bytes/sector (and needs to > > Pasi> support that), but logically th

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-20 Thread Pasi Kärkkäinen
On Sun, Aug 19, 2012 at 12:38:43PM -0400, Martin K. Petersen wrote: > > "Pasi" == Pasi Kärkkäinen 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. T

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-19 Thread Pasi Kärkkäinen
On Sun, Aug 19, 2012 at 12:38:43PM -0400, Martin K. Petersen wrote: > > "Pasi" == Pasi Kärkkäinen 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. T

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-19 Thread Martin K. Petersen
> "Pasi" == Pasi Kärkkäinen 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 w

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-19 Thread Pasi Kärkkäinen
On Sun, Aug 19, 2012 at 11:18:57AM -0400, Martin K. Petersen wrote: > > "Pasi" == Pasi Kärkkäinen 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? > > SAS

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-19 Thread Martin K. Petersen
> "Pasi" == Pasi Kärkkäinen 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. 512-byte logical blocks + 8 bytes of PI. Linux does not support log

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-19 Thread Pasi Kärkkäinen
On Fri, Aug 17, 2012 at 12:00:55PM -0400, Martin K. Petersen wrote: > > "Ankit" == Ankit Jain writes: > > Ankit> Will these patches be merged? Or have they been superseded by > Ankit> some other patchset? > > Sorry, I've been out on vacation. > > 2 of the patches are absolutely trivial and

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-17 Thread Martin K. Petersen
> "Ankit" == Ankit Jain writes: Ankit> Will these patches be merged? Or have they been superseded by Ankit> some other patchset? Sorry, I've been out on vacation. 2 of the patches are absolutely trivial and should just be applied. However, LSI objects to patch #3 which tweaks an incorrect N

Re: [SCSI] mpt2sas T10 DIF fixes

2012-08-09 Thread Ankit Jain
On 02/21/2012 07:06 AM, Martin K. Petersen wrote: > This is a repost of the T10 DIF patches against mpt2sas that I posted a > while back: Will these patches be merged? Or have they been superseded by some other patchset? Thanks, -- Ankit Jain SUSE Labs -- To unsubscribe from this list: send the