https://git.reactos.org/?p=reactos.git;a=commitdiff;h=91f6fa0259cc2a98371b86...
commit 91f6fa0259cc2a98371b8644310d47d7fdf79e12 Author: Jérôme Gardou jerome.gardou@reactos.org AuthorDate: Fri Dec 18 16:19:45 2020 +0100 Commit: Jérôme Gardou jerome.gardou@reactos.org CommitDate: Wed Feb 3 09:41:22 2021 +0100
Disable CcScheduleReadAhead call --- ntoskrnl/cc/copy.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/ntoskrnl/cc/copy.c b/ntoskrnl/cc/copy.c index 3dd172fa9db..502dfb03ee8 100644 --- a/ntoskrnl/cc/copy.c +++ b/ntoskrnl/cc/copy.c @@ -556,6 +556,7 @@ CcCopyRead ( IoStatus->Status = STATUS_SUCCESS; IoStatus->Information = ReadLength;
+#if 0 /* If that was a successful sync read operation, let's handle read ahead */ if (Length == 0 && Wait) { @@ -576,6 +577,7 @@ CcCopyRead ( PrivateCacheMap->FileOffset2.QuadPart = FileOffset->QuadPart; PrivateCacheMap->BeyondLastByte2.QuadPart = FileOffset->QuadPart + ReadLength; } +#endif
return TRUE; }