Re: Data Corruption on win98SE when IRP is re-issued in completionroutine

Uma Devi Dasari wrote:

Calling MmPrepareMdlForReuse() in the completion routine seems to have fixed
the problem on Win98.

BTW, what is the optimal chunk size that is used? Is there any max limit for
chunk size?

I don’t think there really is an *optimal* size for URBs. The default is
4096 (for 2K and earlier). My LOOPBACK samples sets a smaller size just
so the multi-segment code will get exercised.

Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at