Date: Sat, 25 Apr 1998 22:07:12 -0700 From: Matthew Jacob <mjacob@feral.com> To: gibbs@narnia.plutotech.com, julian@whistle.com Cc: Harlan.Stenn@pfcs.com, scsi@FreeBSD.ORG Subject: Re: does CAM do this? Message-ID: <199804260507.WAA29259@feral.com>
next in thread | raw e-mail | index | archive | help
>I think the reason is because he doesn't understand the difference between >fixed and variable block modes. Exactly. > > >> The CAM driver behaves >> exactly as you wish. When a short read is encountered, the user >> is returned a short read. Just be aware, however, that if the device >> is in fixed block mode, your request must be a multiple of the block >> size. Should it be a multiple > 1, you will get more than a single >> block back. The only way to determine the block size in fixed block >> mode is to perform a smart search for the block size. > >I may be wrong but I vaguely remeber thet the 'info' field contains valid >information in this case which I USED to print out in a meaningful manner >in one version of st.c (possibly only the TFS version). Yes, for SILI errrors, the info field is the residual. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804260507.WAA29259>