Re: evaluation of scsi_cmnd->resid

2005-04-12 Thread Douglas Gilbert
Andreas Herrmann wrote: 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 t

evaluation of scsi_cmnd->resid

2005-04-12 Thread Andreas Herrmann
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 althoug