[NTOSKRNL] Revert 2362e0f and 07e6e9c (partly) they seem to have caused high instability in Cc.

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:
Pierre Schweitzer 2018-02-08 13:40:54 +01:00
parent e26e4445b3
commit de897cbe3d
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 1 additions and 6 deletions

View file

@ -247,10 +247,6 @@ CcSetDirtyPinnedData (
Bcb, Lsn);
iBcb->Dirty = TRUE;
if (!iBcb->Vacb->Dirty)
{
CcRosMarkDirtyVacb(iBcb->Vacb);
}
}

View file

@ -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(