mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
This reverts BCB being lazy written when marked dirty. We'll go back to this behavior when this part will have been reworked and stabilized. CORE-14263 CORE-14279 CORE-14285
This commit is contained in:
@@ -247,10 +247,6 @@ CcSetDirtyPinnedData (
|
||||
Bcb, Lsn);
|
||||
|
||||
iBcb->Dirty = TRUE;
|
||||
if (!iBcb->Vacb->Dirty)
|
||||
{
|
||||
CcRosMarkDirtyVacb(iBcb->Vacb);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -231,8 +231,7 @@ CcRosFlushDirtyPages (
|
||||
ASSERT(current->Dirty);
|
||||
|
||||
/* One reference is added above */
|
||||
if ((current->ReferenceCount > 2 && current->PinCount == 0) ||
|
||||
(current->ReferenceCount > 3 && current->PinCount > 1))
|
||||
if (current->ReferenceCount > 2)
|
||||
{
|
||||
CcRosReleaseVacbLock(current);
|
||||
current->SharedCacheMap->Callbacks->ReleaseFromLazyWrite(
|
||||
|
||||
Reference in New Issue
Block a user