Re: SAVE_DATA / RESTORE_POINTERS message confusion

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

 



On Sun, 29 Apr 2007, David Miller wrote:

> From: James Bottomley <James.Bottomley@xxxxxxxxxxxx>
> Date: Sun, 29 Apr 2007 16:18:19 -0500
> 
> > On Sun, 2007-04-29 at 22:56 +0200, Guennadi Liakhovetski wrote:
> > > 2. are they ever sent apart from when accompanying the DISCONNECT / 
> > > RESELECT?
> > 
> > I've never seen an occasion, no.
> 
> I have.
> 
> > > 3. if "yes" to 2 - can the RESTORE be used to "rewind" the pointer to a 
> > > value smaller than the current?
> > 
> > Theoretically, yes.  In practice, no device I've ever heard of has done
> > this.
> 
> I've seen a device do this, and ironically for an inquiry :-)

Ok, looking through t10 docs there seem to be quite a few functions for 
the SAVE DATA POINTERS / MODIFY DATA POINTER / RESTORE POINTERS (btw, even 
POINTER vs. POINTERS use was inconsistent between the spi5r06, s2-r10l, 
ana a random book I have) also apart from the usual DISCONNECT / RESELECT, 
like re-requesting command / data / status.

Is there a SCSI driver that does all this pointer management correctly? 
And that's easy enough to understand and use as an example? For example, 
tmscsim just would reject MODIFY DP. And for every RESTORE POINTERS with 
sg there would be a KERN_INFO printk...

Thanks
Guennadi
---
Guennadi Liakhovetski
-
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