Use a first in first out queue to control that flow. You never wait in
StatIo, so exit it quickly. Once IRQL drops to PADSSIVE_LEVEL the work item
sends a triggering SRB to ScsiPort to tell the miniport to purge that queue.
Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com
-----Original Message-----
From: Rahul Gupta [mailto:xxxxx@lycos.com]
Sent: Wednesday, October 24, 2001 10:51 AM
To: xxxxx@broadstor.com
Cc: xxxxx@dcmtech.co.in
Subject: Virtual SCSI
hi Gary,
I am Developing a Virtual SCSI Driver (iSCSI).
My Problem is I am scheduling a work item in my Startio routine and
interfacing with the TDI sending the SRB across and getting the Status etc.
in the Callback.
But the Workitem will not schedule unless StartIO()returns neither can I
wait (block)in StartIO()
To counter this I am Completing the Request in the DPC using
RequestTimerCall.
But at times the DPC get Schedules first (I dont have Status by then)and
since my Callback is scheduled Later.
How can I force scheduling of my Callback Routine first and then the DPC. Is
Increasing the Polling Time a only solution??
Thanks In Advance
Rahul Gupta
Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com