// ntifs.h
VOID CcSetReadAheadGranularity(
[in] PFILE_OBJECT FileObject,
[in] ULONG Granularity
);
View the official Windows Driver Kit DDI reference
No description available.
The CcSetReadAheadGranularity routine sets the read-ahead granularity for a cached file.
FileObject
[in]Pointer to a file object for the cached file whose read-ahead granularity is to be set.
Granularity
[in]Specifies the desired read-ahead granularity, which must be an even power of two and must be greater than or equal to PAGE_SIZE.
After CcInitializeCacheMap is called to cache a file, but before CcSetReadAheadGranularity is called for the cached file, the default read-ahead granularity for the cached file is equal to PAGE_SIZE.
CcSetAdditionalCacheAttributes