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

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

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:

IO Retry events from disk.sys

Suresh_PatilSuresh_Patil Member Posts: 122

We are seeing IO retry events with our storport miniport driver for SATA. The event signature is similar to this:
"The IO operation at logical block address X for Disk Y (PDO name Z) was retried"
There are lots of such messages.

There is no associated data loss or corruption, but we wanted to understand how our driver might be influencing these messages and what we can do to avoid them.
Surprisingly we have never returned any IO with any status other than SRB_STATUS_SUCCESS during the duration of the said IO stress test, but we still see those messages in event viewer.

Any pointers on when such messages get generated and what our driver needs to do to avoid them will be appreciated, thanks.



  • Suresh_PatilSuresh_Patil Member Posts: 122

    To bring this thread to closure, there was an oversight and we were in fact returning STATUS_FAILURE in a particular code path to few incoming IOs when we were running out of resources under heavy load.
    Returning STATUS_BUSY (and thereby letting the storport retry them) solved the issue.


  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,845

    Thank you, Mr. Patil, for coming back and letting us know the ultimate cause/solution. That’s very helpful for folks in future reading the archive.


    Peter Viscarola

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!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA