CcSetLoggedDataThreshold routine

The CcSetLoggedDataThreshold routine sets a threshold for when a scan of dirty log pages will initiate a lazy write.

Syntax


VOID CcSetLoggedDataThreshold(
  _In_ PVOID LogHandle,
  _In_ ULONG NumberOfPages
);

Parameters

LogHandle [in]

Log handle for the new threshold.

NumberOfPages [in]

The threshold number in dirty log pages for the log specified by LogHandle.

Return value

None

Remarks

The threshold value in NumberOfPages is used only if the value returned in the PercentageUsed parameter of the QueryLogUsageRoutine callback routine is 0. The QueryLogUsageRoutine callback is set with a call to CcSetLogHandleForFileEx.

The CcSetLoggedDataThreshold routine is used to set a fixed value in number of dirty log pages when a log full percentage is not used.

Requirements

Target platform

Universal

Version

Available in Windows 8 and later versions of Windows.

Header

Ntifs.h (include Ntifs.h or FltKernel.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

See also

CcSetLogHandleForFileEx

 

 

Send comments about this topic to Microsoft

Show: