Hi
If my device driver receive a scsi cmd to read 2M
bytes of data, can my device driver report to the
initiator that the request size is too big and try to
send the request in smaller size? If so, how. I looked
at the sense key in the scsi spec. there seems no such
code for this case.
thanks
Robert
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
If this is a SCSI-PORT or STOR-PORT driver there is a capability to specify
the MaximumTransferLength for the adapter.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
“robert zhou” wrote in message news:xxxxx@ntfsd…
> Hi
>
> If my device driver receive a scsi cmd to read 2M
> bytes of data, can my device driver report to the
> initiator that the request size is too big and try to
> send the request in smaller size? If so, how. I looked
> at the sense key in the scsi spec. there seems no such
> code for this case.
>
> thanks
> Robert
>
>
>
> ____________________________________________________________________________________
> Want to start your own business?
> Learn how on Yahoo! Small Business.
> http://smallbusiness.yahoo.com/r-index
>
Do you have a SCSI miniport? You shouldn’t be doing anything if you are
above the scsiport, just send it down. If you’ve got a SCSI miniport and
you get a command asking you to read ~4000 blocks, it would be preferable
to simply fix your driver to move that large a transfer. It’s really not
that large. And this question is more suited to NTDEV than ntfsd, anyway.
Phil
Philip D. Barila
Seagate Technology LLC
(720) 684-1842
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of robert zhou
Sent: Wednesday, November 22, 2006 2:51 PM
To: “Windows File Systems Devs Interest List”
Subject: [ntfsd] How does device driver report block size is too big.
Hi
If my device driver receive a scsi cmd to read 2M
bytes of data, can my device driver report to the
initiator that the request size is too big and try to
send the request in smaller size? If so, how. I looked
at the sense key in the scsi spec. there seems no such
code for this case.
thanks
Robert