mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 23:03:03 +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
|
IN ULONG Granularity
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
static ULONG Warn;
|
PPRIVATE_CACHE_MAP PrivateMap;
|
||||||
|
|
||||||
CCTRACE(CC_API_DEBUG, "FileObject=%p Granularity=%lu\n",
|
CCTRACE(CC_API_DEBUG, "FileObject=%p Granularity=%lu\n",
|
||||||
FileObject, Granularity);
|
FileObject, Granularity);
|
||||||
|
|
||||||
if (!Warn++) UNIMPLEMENTED;
|
PrivateMap = FileObject->PrivateCacheMap;
|
||||||
|
PrivateMap->ReadAheadMask = Granularity - 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue