Acquire FastMutex at IRQL = Dispatch_level

Hi,
I would like to acquire a FastMutex during the read operation, sometimes
it is executed at IRQL = DISPATCH_LEVEL in read completion and Driver
Verifier will bug check the code. The DDK states that I cannot acquire the
FastMutex at that IRQL. How can I solve this problem? The OS is Win XP.
Thanks for any information.

Regards,
Sin Lam


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Queue the IRP instead if your resource is busy, and pick it later.

----- Original Message -----
From: “Tan Sin Lam”
To: “File Systems Developers”
Sent: Thursday, February 21, 2002 7:45 AM
Subject: [ntfsd] Acquire FastMutex at IRQL = Dispatch_level

> Hi,
> I would like to acquire a FastMutex during the read operation, sometimes
> it is executed at IRQL = DISPATCH_LEVEL in read completion and Driver
> Verifier will bug check the code. The DDK states that I cannot acquire the
> FastMutex at that IRQL. How can I solve this problem? The OS is Win XP.
> Thanks for any information.
>
> Regards,
> Sin Lam
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Another option is to use a spin lock instead of a fast mutex. You
should only do this if you are holding the lock for short periods of
time.

Neal Christiansen

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, February 20, 2002 09:15 PM
To: File Systems Developers
Subject: [ntfsd] Re: Acquire FastMutex at IRQL = Dispatch_level

Queue the IRP instead if your resource is busy, and pick it later.

----- Original Message -----
From: “Tan Sin Lam”
To: “File Systems Developers”
Sent: Thursday, February 21, 2002 7:45 AM
Subject: [ntfsd] Acquire FastMutex at IRQL = Dispatch_level

> Hi,
> I would like to acquire a FastMutex during the read operation,
sometimes
> it is executed at IRQL = DISPATCH_LEVEL in read completion and Driver
> Verifier will bug check the code. The DDK states that I cannot
acquire the
> FastMutex at that IRQL. How can I solve this problem? The OS is Win
XP.
> Thanks for any information.
>
> Regards,
> Sin Lam
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@Windows.Microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com