We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e107c9 + 32e6742 commit 9f16cddCopy full SHA for 9f16cdd
compat/win32/fscache.c
@@ -24,7 +24,13 @@ struct fscache {
24
unsigned int opendir_requests;
25
unsigned int fscache_requests;
26
unsigned int fscache_misses;
27
- WCHAR buffer[64 * 1024];
+ /*
28
+ * 32k wide characters translates to 64kB, which is the maximum that
29
+ * Windows 8.1 and earlier can handle. On network drives, not only
30
+ * the client's Windows version matters, but also the server's,
31
+ * therefore we need to keep this to 64kB.
32
+ */
33
+ WCHAR buffer[32 * 1024];
34
};
35
static struct trace_key trace_fscache = TRACE_KEY_INIT(FSCACHE);
36
0 commit comments