mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[NTOSKRNL] Implement CcSetReadAheadGranularity()
This commit is contained in:
parent
c19c7c7674
commit
9c87925197
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue