Author: ion
Date: Sun Jul 2 22:47:54 2006
New Revision: 22774
URL:
http://svn.reactos.org/svn/reactos?rev=22774&view=rev
Log:
- Temporarily disable queueing IRPs to their threads, since raising to APC_LEVEL seems to
cause some weird user-mode exceptions.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
trunk/reactos/ntoskrnl/io/iomgr/irp.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iofunc.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c Sun Jul 2 22:47:54 2006
@@ -156,7 +156,7 @@
PAGED_CODE();
/* Queue the IRP */
- IopQueueIrpToThread(Irp);
+ //IopQueueIrpToThread(Irp);
/* Update operation counts */
IopUpdateOperationCount(TransferType);
@@ -478,7 +478,7 @@
}
/* Queue the IRP */
- IopQueueIrpToThread(Irp);
+ //IopQueueIrpToThread(Irp);
/* Call the Driver */
Status = IoCallDriver(FileObject->DeviceObject, Irp);
@@ -735,7 +735,7 @@
StackPtr->Parameters.SetFile.Length = Length;
/* Queue the IRP */
- IopQueueIrpToThread(Irp);
+ //IopQueueIrpToThread(Irp);
/* Call the Driver */
Status = IoCallDriver(FileObject->DeviceObject, Irp);
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irp.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/irp.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/irp.c Sun Jul 2 22:47:54 2006
@@ -895,8 +895,8 @@
KIRQL OldIrql;
ULONG Retries = 3000;
LARGE_INTEGER Interval;
- //PLIST_ENTRY ListHead, NextEntry;
- //PIRP Irp;
+ PLIST_ENTRY ListHead, NextEntry;
+ PIRP Irp;
IOTRACE(IO_IRP_DEBUG,
"%s - Canceling IRPs for Thread %p\n",
__FUNCTION__,
@@ -906,7 +906,6 @@
OldIrql = KfRaiseIrql(APC_LEVEL);
/* Start by cancelling all the IRPs in the current thread queue. */
-#if 0
ListHead = &Thread->IrpList;
NextEntry = ListHead->Flink;
while (ListHead != NextEntry)
@@ -920,7 +919,6 @@
/* Move to the next entry */
NextEntry = NextEntry->Flink;
}
-#endif
/* Wait 100 milliseconds */
Interval.QuadPart = -1000000;