mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[NTOSKRNL] Implement CcSetReadAheadGranularity()
This commit is contained in:
@@ -243,10 +243,11 @@ CcSetReadAheadGranularity (
|
||||
IN ULONG Granularity
|
||||
)
|
||||
{
|
||||
static ULONG Warn;
|
||||
PPRIVATE_CACHE_MAP PrivateMap;
|
||||
|
||||
CCTRACE(CC_API_DEBUG, "FileObject=%p Granularity=%lu\n",
|
||||
FileObject, Granularity);
|
||||
|
||||
if (!Warn++) UNIMPLEMENTED;
|
||||
PrivateMap = FileObject->PrivateCacheMap;
|
||||
PrivateMap->ReadAheadMask = Granularity - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user