Re: Write residual scenario

"Eddy Quicksall" <[email protected]> Thu, 5 Jun 2008 17:38:22 -0400
Newsgroups gmane.ietf.ips
Message-ID <[email protected]>
For a disk underrun, you could issue a write(10) of one block but an Expected Data Transfer Length of 1. I don't know if that is an error for SCSI but it was not for earlier disk drives. In fact in the late '60s we did do that to initialize the sectors on a disk with the sector address ... the rest of the sector would just get 0's. For an overrun, try writing 0 blocks but specify a positive Expected Data Transfer Length.

It may be more logical for some other types of devices.

Eddy
  ----- Original Message ----- 
  From: HUJason 
  To: [email protected] 
  Sent: Monday, May 05, 2008 10:27 PM
  Subject: [Ips] Write residual scenario


  Dears,
   
  In RFC5048 There is a line describing the residual cases:
   
  > Note that the Overflow and Underflow scenarios are independent of
  > Data-In and Data-Out.  Either scenario is logically possible in
  > either direction of data transfer.
   
  Can anyone please picture a case for the Data-Out residual? I know it is logically possible, but when it happen it should be a "not good" write response, right?
   
  Thank you and Best Regards,

  Jason HU


------------------------------------------------------------------------------
  用 Windows Live Spaces 展示个性自我,与好友分享生活! 了解更多信息! 


------------------------------------------------------------------------------


  _______________________________________________
  Ips mailing list
  [email protected]
  https://www.ietf.org/mailman/listinfo/ips

_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips