You are correct. Client is opening the file over CIFS and the server which has the stub file runs the driver and the driver needs to recall the file.
Rick I have tried calling FltCreateFile from both PostCreate and PostRead operations. But I am going to call FltWriteFile from PostRead operation since I need to recall the file on first read operation. Earlier i had the same implementation of recalling in PostCreate but since for the issue of linux i am changing the recall path to first read operation.
Following is the call stack and !locks output. From the log it seems that when the driver is calling FltWriteFile, it is trying to acquire the same lock in Exclusive mode and running in self deadlock condition. The read file object has owned the resource in shared mode and the same thread is trying to acquire the resource in exclusive mode and getting hung. Am i right? Even i tried completing the Create request of application by appending DesiredAccess with STANDARD_RIGHTS_WRITE | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | STANDARD_RIGHTS_READ. But still the FltWrite is not returning.
1: kd> !locks -d
**** DUMP OF ALL RESOURCE OBJECTS ****
KD: Scanning for held locks…
Resource @ 0xfffffa800259b790 Shared 1 owning threads
Contention Count = 1
Threads: fffffa8001936040-01<*>
KD: Scanning for held locks…
Resource @ 0xfffffa8003995700 Shared 1 owning threads
Contention Count = 2
NumberOfExclusiveWaiters = 2
Threads: fffffa80038a5040-01<*>
Threads Waiting On Exclusive Access:
fffffa80038a5040 fffffa8001936040
KD: Scanning for held locks…
Resource @ 0xfffffa8003824dc0 Exclusively owned
Threads: fffffa8001936040-01<*>
KD: Scanning for held locks.
7380 total locks, 3 locks currently held
1: kd> dt_eresource 0xfffffa8003995700
hal!_ERESOURCE
+0x000 SystemResourcesList : _LIST_ENTRY [0xfffffa8003997860 - 0xfffffa8003995960]
+0x010 OwnerTable : (null)
+0x018 ActiveCount : 1
+0x01a Flag : 0
+0x020 SharedWaiters : (null)
+0x028 ExclusiveWaiters : 0xfffffa80`02df5c70 _KEVENT
+0x030 OwnerEntry : _OWNER_ENTRY
+0x040 ActiveEntries : 1
+0x044 ContentionCount : 2
+0x048 NumberOfSharedWaiters : 0
+0x04c NumberOfExclusiveWaiters : 2
+0x050 Reserved2 : (null)
+0x058 Address : (null)
+0x058 CreatorBackTraceIndex : 0
+0x060 SpinLock : 0
1: kd> !locks -v 0xfffffa8003995700
Resource @ 0xfffffa8003995700 Shared 1 owning threads
Contention Count = 2
NumberOfExclusiveWaiters = 2
Threads: fffffa80038a5040-01<*>
THREAD fffffa80038a5040 Cid 0004.0e64 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
fffffa8002df5c70 SynchronizationEvent
fffffa80038a50f8 NotificationTimer
Not impersonating
DeviceMap fffff88000005150
Owning Process fffffa80018df690 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 37417 Ticks: 224 (0:00:00:03.494)
Context Switch Count 23
UserTime 00:00:00.000
KernelTime 00:00:01.560
Win32 Start Address srv!WorkerThread (0xfffffa60040f13b0)
Stack Init fffffa60044d6db0 Current fffffa60044d4d50
Base fffffa60044d7000 Limit fffffa60044d1000 Call 0
Priority 14 BasePriority 9 PriorityDecrement 5 IoPriority 2 PagePriority 5
Child-SP RetAddr Call Site
fffffa60044d4d90 fffff80001cb4f8a nt!KiSwapContext+0x7f
fffffa60044d4ed0 fffff80001cb676a nt!KiSwapThread+0x2fa
fffffa60044d4f40 fffff80001cc6e2c nt!KeWaitForSingleObject+0x2da
fffffa60044d4fd0 fffffa600102471a nt!ExAcquireResourceExclusiveLite+0x1cc
fffffa60044d5040 fffffa6001026118 Ntfs!NtfsCommonWrite+0x1cba
fffffa60044d5240 fffff800020bf59a Ntfs!NtfsFsdWrite+0x208
fffffa60044d5300 fffffa6000cc1e17 nt!IovCallDriver+0x34a
fffffa60044d5340 fffffa6000cc5b7b fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227
fffffa60044d53b0 fffffa6000cd0422 fltmgr!FltPerformSynchronousIo+0xdb
fffffa60044d5420 fffffa6000cfccb4 fltmgr!FltWriteFile+0x342
fffffa60044d5500 fffffa60041ae6a1 fltmgr!FltvWriteFile+0x84
fffffa60044d5570 fffffa60041aec43 ada_hsm!DummyRecall+0x481 [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 1846]
fffffa60044d56e0 fffffa60041aefcb ada_hsm!Recall+0x3f3 [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 1972]
fffffa60044d57c0 fffffa6000ccebf6 ada_hsm!ReadWorker+0x28b [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 2062]
fffffa60044d58d0 fffffa6000cfc56f fltmgr!FltDoCompletionProcessingWhenSafe+0x96
fffffa60044d5900 fffffa60041af5dc fltmgr!FltvDoCompletionProcessingWhenSafe+0x8f
fffffa60044d5940 fffffa6000cfaf8b ada_hsm!ReadPostOperationCallback+0x9c [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 2296]
fffffa60044d5990 fffffa6000cc3f0c fltmgr!FltvPostOperation+0x9b
fffffa60044d5a10 fffffa6000cc63a2 fltmgr!FltpPerformPostCallbacks+0x31d
fffffa60044d5ae0 fffffa6000cc64ed fltmgr!FltpProcessIoCompletion+0x12
fffffa60044d5b10 fffff800020bc3f6 fltmgr!FltpPassThroughCompletion+0x7d
fffffa60044d5b50 fffff80001cb1785 nt!IovpLocalCompletionRoutine+0x116
fffffa60044d5b90 fffff800020b68c3 nt!IopfCompleteRequest+0x315
fffffa60044d5c50 fffffa600101d540 nt!IovCompleteRequest+0x43
fffffa60044d5d30 fffffa600101db68 Ntfs!NtfsCommonRead+0x1751
fffffa60044d5ea0 fffff800020bf59a Ntfs!NtfsFsdRead+0x1b8
fffffa60044d60a0 fffffa6000cc1e17 nt!IovCallDriver+0x34a
fffffa60044d60e0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227
fffffa60044d6150 fffff800020bf59a fltmgr!FltpDispatch+0xcd
fffffa60044d61b0 fffffa6000cc10ad nt!IovCallDriver+0x34a
fffffa60044d61f0 fffff800020bf59a fltmgr!FltpDispatch+0x9d
fffffa60044d6250 fffff80001ca6c20 nt!IovCallDriver+0x34a
fffffa60044d6290 fffff80001cd555c nt!IoPageRead+0x130
fffffa60044d62d0 fffff80001cbe4c9 nt!MiDispatchFault+0x9ec
fffffa60044d6430 fffff80001cd3280 nt!MmAccessFault+0x14c9
fffffa60044d6520 fffff80001f18917 nt!MmCheckCachedPageState+0x620
fffffa60044d65b0 fffffa600101a0d6 nt!CcCopyRead+0x1bb
fffffa60044d66d0 fffffa600101c249 Ntfs!NtfsCachedRead+0x176
fffffa60044d6720 fffffa600101db68 Ntfs!NtfsCommonRead+0x469
fffffa60044d6890 fffff800020bf59a Ntfs!NtfsFsdRead+0x1b8
Threads Waiting On Exclusive Access:
fffffa80038a5040 fffffa8001936040
1 total locks, 1 locks currently held
1: kd> !locks -v 0xfffffa800259b790
Resource @ 0xfffffa800259b790 Shared 1 owning threads
Contention Count = 1
Threads: fffffa8001936040-01<*>
THREAD fffffa8001936040 Cid 0004.0048 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
fffffa8002df5c70 SynchronizationEvent
fffffa80019360f8 NotificationTimer
IRP List:
fffff98008552c60: (0006,03a0) Flags: 40000404 Mdl: 00000000
Impersonation token: fffff880068f5b10 (Level Impersonation)
Owning Process fffffa80018df690 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 37456 Ticks: 185 (0:00:00:02.886)
Context Switch Count 1420
UserTime 00:00:00.000
KernelTime 00:00:00.140
Win32 Start Address nt!ExpWorkerThread (0xfffff80001cbbf3c)
Stack Init fffffa6004b28db0 Current fffffa6004b28630
Base fffffa6004b29000 Limit fffffa6004b23000 Call 0
Priority 13 BasePriority 12 PriorityDecrement 0 IoPriority 2 PagePriority 5
Child-SP RetAddr Call Site
fffffa6004b28670 fffff80001cb4f8a nt!KiSwapContext+0x7f
fffffa6004b287b0 fffff80001cb676a nt!KiSwapThread+0x2fa
fffffa6004b28820 fffff80001cc6e2c nt!KeWaitForSingleObject+0x2da
fffffa6004b288b0 fffffa60010db6cd nt!ExAcquireResourceExclusiveLite+0x1cc
fffffa6004b28920 fffffa6001029999 Ntfs!NtfsCommonCleanup+0x27d
fffffa6004b28d30 fffff80001ca96e7 Ntfs!NtfsCommonCleanupCallout+0x19
fffffa6004b28d60 fffff80001ca969e nt!KxSwitchKernelStackCallout+0x27 (TrapFrame @ fffffa6004b28c20) fffffa60017df0f0 fffff80001cd0244 nt!KiSwitchKernelStackContinue fffffa60017df110 fffffa6001029162 nt!KeExpandKernelStackAndCalloutEx+0x134 fffffa60017df1a0 fffffa60010dffa8 Ntfs!NtfsCommonCleanupOnNewStack+0x42 fffffa60017df210 fffff800020bf59a Ntfs!NtfsFsdCleanup+0x138 fffffa60017df470 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df4b0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df520 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df580 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df5c0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df630 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df690 fffff80001f2da54 nt!IovCallDriver+0x34a fffffa60017df6d0 fffff80001f2b0c0 nt!IopCloseFile+0x184 fffffa60017df760 fffff80001f2b477 nt!ObpDecrementHandleCount+0xc0 fffffa60017df7f0 fffff80001f2b634 nt!ObpCloseHandleTableEntry+0xb7 fffffa60017df890 fffff80001caeeb3 nt!ObpCloseHandle+0x94 fffffa60017df8e0 fffff80001caf3c0 nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffffa60017df8e0)
fffffa60017dfa78 fffffa60040a58af nt!KiServiceLinkage
fffffa60017dfa80 fffffa60040f1c50 srv!SrvDereferenceLfcbHandle+0x19f
fffffa60017dfad0 fffffa60041301d9 srv!UnlinkRfcbFromLfcb+0x40
fffffa60017dfb10 fffffa6004131f06 srv!SrvCompleteRfcbClose+0x159
fffffa60017dfb40 fffffa60040b2e71 srv!CloseRfcbInternal+0x36
fffffa60017dfb70 fffffa6004124392 srv!SrvCloseRfcbsOnSessionOrPid+0x81
fffffa60017dfba0 fffffa6004124803 srv!SrvCloseSession+0x133
fffffa60017dfbe0 fffffa60040b3bd8 srv!SrvCloseSessionsOnConnection+0x133
fffffa60017dfc40 fffffa60040b414e srv!SrvCloseConnection+0x168
fffffa60017dfc90 fffffa60040b43b1 srv!ProcessConnectionDisconnects+0x9e
fffffa60017dfcc0 fffff80001cbc056 srv!SrvResourceThread+0x21
fffffa60017dfcf0 fffff80001ed1403 nt!ExpWorkerThread+0x11a
fffffa60017dfd50 fffff80001ce9576 nt!PspSystemThreadStartup+0x57
fffffa60017dfd80 0000000000000000 nt!KxStartSystemThread+0x16
1 total locks, 1 locks currently held
1: kd> !locks -v 0xfffffa8003824dc0
Resource @ 0xfffffa8003824dc0 Exclusively owned
Threads: fffffa8001936040-01<*>
THREAD fffffa8001936040 Cid 0004.0048 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
fffffa8002df5c70 SynchronizationEvent
fffffa80019360f8 NotificationTimer
IRP List:
fffff98008552c60: (0006,03a0) Flags: 40000404 Mdl: 00000000
Impersonation token: fffff880068f5b10 (Level Impersonation)
Owning Process fffffa80018df690 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 37456 Ticks: 185 (0:00:00:02.886)
Context Switch Count 1420
UserTime 00:00:00.000
KernelTime 00:00:00.140
Win32 Start Address nt!ExpWorkerThread (0xfffff80001cbbf3c)
Stack Init fffffa6004b28db0 Current fffffa6004b28630
Base fffffa6004b29000 Limit fffffa6004b23000 Call 0
Priority 13 BasePriority 12 PriorityDecrement 0 IoPriority 2 PagePriority 5
Child-SP RetAddr Call Site
fffffa6004b28670 fffff80001cb4f8a nt!KiSwapContext+0x7f
fffffa6004b287b0 fffff80001cb676a nt!KiSwapThread+0x2fa
fffffa6004b28820 fffff80001cc6e2c nt!KeWaitForSingleObject+0x2da
fffffa6004b288b0 fffffa60010db6cd nt!ExAcquireResourceExclusiveLite+0x1cc
fffffa6004b28920 fffffa6001029999 Ntfs!NtfsCommonCleanup+0x27d
fffffa6004b28d30 fffff80001ca96e7 Ntfs!NtfsCommonCleanupCallout+0x19
fffffa6004b28d60 fffff80001ca969e nt!KxSwitchKernelStackCallout+0x27 (TrapFrame @ fffffa6004b28c20) fffffa60017df0f0 fffff80001cd0244 nt!KiSwitchKernelStackContinue fffffa60017df110 fffffa6001029162 nt!KeExpandKernelStackAndCalloutEx+0x134 fffffa60017df1a0 fffffa60010dffa8 Ntfs!NtfsCommonCleanupOnNewStack+0x42 fffffa60017df210 fffff800020bf59a Ntfs!NtfsFsdCleanup+0x138 fffffa60017df470 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df4b0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df520 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df580 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df5c0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df630 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df690 fffff80001f2da54 nt!IovCallDriver+0x34a fffffa60017df6d0 fffff80001f2b0c0 nt!IopCloseFile+0x184 fffffa60017df760 fffff80001f2b477 nt!ObpDecrementHandleCount+0xc0 fffffa60017df7f0 fffff80001f2b634 nt!ObpCloseHandleTableEntry+0xb7 fffffa60017df890 fffff80001caeeb3 nt!ObpCloseHandle+0x94 fffffa60017df8e0 fffff80001caf3c0 nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffffa60017df8e0)
fffffa60017dfa78 fffffa60040a58af nt!KiServiceLinkage
fffffa60017dfa80 fffffa60040f1c50 srv!SrvDereferenceLfcbHandle+0x19f
fffffa60017dfad0 fffffa60041301d9 srv!UnlinkRfcbFromLfcb+0x40
fffffa60017dfb10 fffffa6004131f06 srv!SrvCompleteRfcbClose+0x159
fffffa60017dfb40 fffffa60040b2e71 srv!CloseRfcbInternal+0x36
fffffa60017dfb70 fffffa6004124392 srv!SrvCloseRfcbsOnSessionOrPid+0x81
fffffa60017dfba0 fffffa6004124803 srv!SrvCloseSession+0x133
fffffa60017dfbe0 fffffa60040b3bd8 srv!SrvCloseSessionsOnConnection+0x133
fffffa60017dfc40 fffffa60040b414e srv!SrvCloseConnection+0x168
fffffa60017dfc90 fffffa60040b43b1 srv!ProcessConnectionDisconnects+0x9e
fffffa60017dfcc0 fffff80001cbc056 srv!SrvResourceThread+0x21
fffffa60017dfcf0 fffff80001ed1403 nt!ExpWorkerThread+0x11a
fffffa60017dfd50 fffff80001ce9576 nt!PspSystemThreadStartup+0x57
fffffa60017dfd80 0000000000000000 nt!KxStartSystemThread+0x16
1 total locks, 1 locks currently held
1: kd> !thread -p fffffa8001936040 f
PROCESS fffffa80018df690
SessionId: none Cid: 0004 Peb: 00000000 ParentCid: 0000
DirBase: 00124000 ObjectTable: fffff88000002f80 HandleCount: 3164.
Image: System
THREAD fffffa8001936040 Cid 0004.0048 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
fffffa8002df5c70 SynchronizationEvent
fffffa80019360f8 NotificationTimer
IRP List:
fffff98008552c60: (0006,03a0) Flags: 40000404 Mdl: 00000000
Impersonation token: fffff880068f5b10 (Level Impersonation)
Owning Process fffffa80018df690 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 37456 Ticks: 185 (0:00:00:02.886)
Context Switch Count 1420
UserTime 00:00:00.000
KernelTime 00:00:00.140
Win32 Start Address nt!ExpWorkerThread (0xfffff80001cbbf3c)
Stack Init fffffa6004b28db0 Current fffffa6004b28630
Base fffffa6004b29000 Limit fffffa6004b23000 Call 0
Priority 13 BasePriority 12 PriorityDecrement 0 IoPriority 2 PagePriority 5
Child-SP RetAddr Call Site
fffffa6004b28670 fffff80001cb4f8a nt!KiSwapContext+0x7f
fffffa6004b287b0 fffff80001cb676a nt!KiSwapThread+0x2fa
fffffa6004b28820 fffff80001cc6e2c nt!KeWaitForSingleObject+0x2da
fffffa6004b288b0 fffffa60010db6cd nt!ExAcquireResourceExclusiveLite+0x1cc
fffffa6004b28920 fffffa6001029999 Ntfs!NtfsCommonCleanup+0x27d
fffffa6004b28d30 fffff80001ca96e7 Ntfs!NtfsCommonCleanupCallout+0x19
fffffa6004b28d60 fffff80001ca969e nt!KxSwitchKernelStackCallout+0x27 (TrapFrame @ fffffa6004b28c20) fffffa60017df0f0 fffff80001cd0244 nt!KiSwitchKernelStackContinue fffffa60017df110 fffffa6001029162 nt!KeExpandKernelStackAndCalloutEx+0x134 fffffa60017df1a0 fffffa60010dffa8 Ntfs!NtfsCommonCleanupOnNewStack+0x42 fffffa60017df210 fffff800020bf59a Ntfs!NtfsFsdCleanup+0x138 fffffa60017df470 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df4b0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df520 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df580 fffffa6000cc1e17 nt!IovCallDriver+0x34a fffffa60017df5c0 fffffa6000cc10dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227 fffffa60017df630 fffff800020bf59a fltmgr!FltpDispatch+0xcd fffffa60017df690 fffff80001f2da54 nt!IovCallDriver+0x34a fffffa60017df6d0 fffff80001f2b0c0 nt!IopCloseFile+0x184 fffffa60017df760 fffff80001f2b477 nt!ObpDecrementHandleCount+0xc0 fffffa60017df7f0 fffff80001f2b634 nt!ObpCloseHandleTableEntry+0xb7 fffffa60017df890 fffff80001caeeb3 nt!ObpCloseHandle+0x94 fffffa60017df8e0 fffff80001caf3c0 nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffffa60017df8e0)
fffffa60017dfa78 fffffa60040a58af nt!KiServiceLinkage
fffffa60017dfa80 fffffa60040f1c50 srv!SrvDereferenceLfcbHandle+0x19f
fffffa60017dfad0 fffffa60041301d9 srv!UnlinkRfcbFromLfcb+0x40
fffffa60017dfb10 fffffa6004131f06 srv!SrvCompleteRfcbClose+0x159
fffffa60017dfb40 fffffa60040b2e71 srv!CloseRfcbInternal+0x36
fffffa60017dfb70 fffffa6004124392 srv!SrvCloseRfcbsOnSessionOrPid+0x81
fffffa60017dfba0 fffffa6004124803 srv!SrvCloseSession+0x133
fffffa60017dfbe0 fffffa60040b3bd8 srv!SrvCloseSessionsOnConnection+0x133
fffffa60017dfc40 fffffa60040b414e srv!SrvCloseConnection+0x168
fffffa60017dfc90 fffffa60040b43b1 srv!ProcessConnectionDisconnects+0x9e
fffffa60017dfcc0 fffff80001cbc056 srv!SrvResourceThread+0x21
fffffa60017dfcf0 fffff80001ed1403 nt!ExpWorkerThread+0x11a
fffffa60017dfd50 fffff80001ce9576 nt!PspSystemThreadStartup+0x57
fffffa60017dfd80 0000000000000000 nt!KxStartSystemThread+0x16
For an experiment i completed the Create request from application to reissue with above said write attributes and in the read operation i reused the same fileobject present in FltObjects->FileObject to write the data to file in asynch mode. But still the api is not returning. This is where the driver is not creating a new FileObject to recall the file. Below is the stack and locks log. Where here also I am finding the same issue.
1: kd> !locks -d
**** DUMP OF ALL RESOURCE OBJECTS ****
KD: Scanning for held locks…
Resource @ 0xfffffa80037763d0 Shared 1 owning threads
Contention Count = 1
NumberOfExclusiveWaiters = 1
Threads: fffffa80036abbb0-01<*>
Threads Waiting On Exclusive Access:
fffffa80036abbb0
KD: Scanning for held locks…
4290 total locks, 1 locks currently held
1: kd> !locks -v 0xfffffa80037763d0
Resource @ 0xfffffa80037763d0 Shared 1 owning threads
Contention Count = 1
NumberOfExclusiveWaiters = 1
Threads: fffffa80036abbb0-01<*>
THREAD fffffa80036abbb0 Cid 0004.0898 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
fffffa8002a5d590 SynchronizationEvent
fffffa80036abc68 NotificationTimer
Not impersonating
DeviceMap fffff88000005150
Owning Process fffffa80018df690 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 10562 Ticks: 222 (0:00:00:03.463)
Context Switch Count 223
UserTime 00:00:00.000
KernelTime 00:00:01.528
Win32 Start Address srv!WorkerThread (0xfffffa60040fe3b0)
Stack Init fffffa6003f95db0 Current fffffa6003f93d80
Base fffffa6003f96000 Limit fffffa6003f90000 Call 0
Priority 10 BasePriority 9 PriorityDecrement 0 IoPriority 2 PagePriority 5
Child-SP RetAddr Call Site
fffffa6003f93dc0 fffff80001ca2f8a nt!KiSwapContext+0x7f
fffffa6003f93f00 fffff80001ca476a nt!KiSwapThread+0x2fa
fffffa6003f93f70 fffff80001cb4e2c nt!KeWaitForSingleObject+0x2da
fffffa6003f94000 fffffa600101671a nt!ExAcquireResourceExclusiveLite+0x1cc
fffffa6003f94070 fffffa6001018118 Ntfs!NtfsCommonWrite+0x1cba
fffffa6003f94270 fffff800020ad59a Ntfs!NtfsFsdWrite+0x208
fffffa6003f94330 fffffa6000cc8e17 nt!IovCallDriver+0x34a
fffffa6003f94370 fffffa6000cd6375 fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227
fffffa6003f943e0 fffffa6000cd6422 fltmgr!FltPerformAsynchronousIo+0x115
fffffa6003f94450 fffffa6000cd745c fltmgr!FltpPerformAsynchronousIoWrapper+0x42
fffffa6003f94480 fffffa6000d03cb4 fltmgr!FltWriteFile+0x37c
fffffa6003f94560 fffffa60027ea635 fltmgr!FltvWriteFile+0x84
fffffa6003f945d0 fffffa60027eac53 ada_hsm!DummyRecall+0x335 [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 1871]
fffffa6003f946e0 fffffa60027eafdb ada_hsm!Recall+0x3f3 [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 2004]
fffffa6003f947c0 fffffa6000cd5bf6 ada_hsm!ReadWorker+0x28b [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 2094]
fffffa6003f948d0 fffffa6000d0356f fltmgr!FltDoCompletionProcessingWhenSafe+0x96
fffffa6003f94900 fffffa60027eb5ec fltmgr!FltvDoCompletionProcessingWhenSafe+0x8f
fffffa6003f94940 fffffa6000d01f8b ada_hsm!ReadPostOperationCallback+0x9c [e:\ada_trunk\modules\flthsm\src\win\driver\src\hsm_callbacks.c @ 2328]
fffffa6003f94990 fffffa6000ccaf0c fltmgr!FltvPostOperation+0x9b
fffffa6003f94a10 fffffa6000ccd3a2 fltmgr!FltpPerformPostCallbacks+0x31d
fffffa6003f94ae0 fffffa6000ccd4ed fltmgr!FltpProcessIoCompletion+0x12
fffffa6003f94b10 fffff800020aa3f6 fltmgr!FltpPassThroughCompletion+0x7d
fffffa6003f94b50 fffff80001c9f785 nt!IovpLocalCompletionRoutine+0x116
fffffa6003f94b90 fffff800020a48c3 nt!IopfCompleteRequest+0x315
fffffa6003f94c50 fffffa600100f540 nt!IovCompleteRequest+0x43
fffffa6003f94d30 fffffa600100fb68 Ntfs!NtfsCommonRead+0x1751
fffffa6003f94ea0 fffff800020ad59a Ntfs!NtfsFsdRead+0x1b8
fffffa6003f950a0 fffffa6000cc8e17 nt!IovCallDriver+0x34a
fffffa6003f950e0 fffffa6000cc80dd fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted+0x227
fffffa6003f95150 fffff800020ad59a fltmgr!FltpDispatch+0xcd
fffffa6003f951b0 fffffa6000cc80ad nt!IovCallDriver+0x34a
fffffa6003f951f0 fffff800020ad59a fltmgr!FltpDispatch+0x9d
fffffa6003f95250 fffff80001c94c20 nt!IovCallDriver+0x34a
fffffa6003f95290 fffff80001cc355c nt!IoPageRead+0x130
fffffa6003f952d0 fffff80001cac4c9 nt!MiDispatchFault+0x9ec
fffffa6003f95430 fffff80001cc1280 nt!MmAccessFault+0x14c9
fffffa6003f95520 fffff80001f06917 nt!MmCheckCachedPageState+0x620
fffffa6003f955b0 fffffa600100c0d6 nt!CcCopyRead+0x1bb
fffffa6003f956d0 fffffa600100e249 Ntfs!NtfsCachedRead+0x176
fffffa6003f95720 fffffa600100fb68 Ntfs!NtfsCommonRead+0x469
Threads Waiting On Exclusive Access:
fffffa80036abbb0
1 total locks, 1 locks currently held