projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64cb138
)
[NTOSKRNL]
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 18 Nov 2017 17:00:48 +0000
(18:00 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 18 Nov 2017 17:00:48 +0000
(18:00 +0100)
Don't make CcSetReadAheadGranularity() whine for every single file opened by FSDs making use of it.
ntoskrnl/cc/cacheman.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/cc/cacheman.c
b/ntoskrnl/cc/cacheman.c
index
2369cad
..
4d62314
100644
(file)
--- a/
ntoskrnl/cc/cacheman.c
+++ b/
ntoskrnl/cc/cacheman.c
@@
-158,8
+158,10
@@
CcSetReadAheadGranularity (
IN ULONG Granularity
)
{
+ static ULONG Warn;
+
CCTRACE(CC_API_DEBUG, "FileObject=%p Granularity=%lu\n",
FileObject, Granularity);
-
UNIMPLEMENTED;
+
if (!Warn++)
UNIMPLEMENTED;
}