[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Re: Write residual scenario

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.
----- Original Message -----
From: HUJason
Sent: Monday, May 05, 2008 10:27 PM
Subject: Write residual scenario

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
Ips mailing list

[IETF]     [Linux iSCSI]     [Linux SCSI]     [Linux Resources]     [Yosemite News]     [IETF Announcements]     [IETF Discussion]     [SCSI]

Add to Google Powered by Linux