mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL] Unmark dirty first, and then write.
This will avoid trying to flush twice a dirty VACB under high IOs pressure. CORE-14584
This commit is contained in:
+4
-2
@@ -168,10 +168,12 @@ CcRosFlushVacb (
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
CcRosUnmarkDirtyVacb(Vacb, TRUE);
|
||||
|
||||
Status = CcWriteVirtualAddress(Vacb);
|
||||
if (NT_SUCCESS(Status))
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
CcRosUnmarkDirtyVacb(Vacb, TRUE);
|
||||
CcRosMarkDirtyVacb(Vacb);
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
||||
Reference in New Issue
Block a user