From: Priya on
Hi Maxim,

Fixing the locking hierarchy seems to have eliminated the problem. I haven't
been able to recreate the deadlock in my preliminary testing. Thank you for
your help.

Thanks,
Priya


"Maxim S. Shatskih" wrote:

> > one of the driver threads holds the VCB lock and is waiting indefinitely for
> > an FCB lock which is not owned by any other thread
>
> This means you have no proper locking hieararchy.
>
> Eliminate all cases from your code where FCB locks are acquired with VCB lock already held.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> .
>