Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results


More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

Reschedule SRB after SRB_STATUS_BUSY

blangeblange Member Posts: 22

Hi. I have a questing regarding a filebacked virtual storport miniport driver.
For a read-only device I have a situation where I cannot answer a read request, yet. So I answer the request with SRB_STATUS_BUSY for a retry. At this point I would like to serve the next request in queue. However, I get the same request back after some delay and the queue is not processed further. Is there a way to resubmit the request to the tail of the SRB queue?
I saw some discussion here, where it was said to answer SRB_STATUS_BUSY followed by asking for the next request to the port driver. How can this be achieved?

Thanks for any helpful hint in advance.


  • RourkeRourke Member Posts: 62

    What exactly do you mean by "I cannot answer a read request"? Consider not reporting the media present until you can answer all read requests. Or if the device needs longer timeouts in general then extend them.

  • blangeblange Member Posts: 22
    Hello Rourke. In my case the requested data is not available, yet, but will be at a later time, which I cannot predict. So I want this request to be rescheduled.

    I looked a little more into the busy states and found aside the SRB_STATUS_BUSY also the SCSISTAT_BUSY. When both together are set in the SRB Response, it seems that the SRB queue continues and the next requests are passed on, as I intended. So SRB_STATUS_BUSY seems to put the request to the head of the queue. The combination seems to put the request back to the tail of the queue.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 27 September 2021 Live, Online
Kernel Debugging 15 November 2021 Live, Online