Hi,

Am I right in the assumption that scsi_cmnd->resid is just of use for
requests initiated by sg?

How does the SCSI-stack handle normal (non-sg) requests for SCSI disks
for which a scsi_cmnd->resid is set?  AFAIK, resid is ignored by
sd. So, such requests are returned to the block layer although the
amount of data transferred is less the amount of data that should have
been transferred.  For FCP-drivers this means that some error situations
cannot be handled by just using scsi_cmnd->resid.

What am I missing here?


Regards,

Andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to