mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00: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:
parent
e26e4445b3
commit
de897cbe3d
2 changed files with 1 additions and 6 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue