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

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

How long does the cache manager (lazy writer) retry I/O previously failed?

iamupdiamupd Member Posts: 2
edited April 5 in NTFSD

I've created a volume filter driver which return a failure for specified some of write I/Os.
and I tested it and cache manager's lazy writer keeps retrying it.
According to my test results, it has tried until he succeeded up to even more 10,000 times.

first of my question is that "how long does the cache manager (lazy writer) retry I/O previously failed?"

and
In case of a write failure due to a real problem(for example bad sectors) on the physical disk, does the cache manager retry the I/O forever?

Comments

  • Bill_ZissimopoulosBill_Zissimopoulos Member Posts: 110

    I am under the impression that the Cache Manager will keep retrying WRITE's until it gets success or one of a number of specific failure codes. I use STATUS_VOLUME_DISMOUNTED in my own FSD to stop CcWriteBehind calls under some circumstances.

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
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA