Skip to content
Permalink
Browse files

Merge pull request #2044 from dscho/fscache-gfw

Fix a network drive related bug in the new, fast FSCache
  • Loading branch information...
dscho committed Jan 29, 2019
2 parents 9e107c9 + 32e6742 commit 9f16cdd4212d5093c5fa1e5dcfc15fb4d81652bd
Showing with 7 additions and 1 deletion.
  1. +7 −1 compat/win32/fscache.c
@@ -24,7 +24,13 @@ struct fscache {
unsigned int opendir_requests;
unsigned int fscache_requests;
unsigned int fscache_misses;
WCHAR buffer[64 * 1024];
/*
* 32k wide characters translates to 64kB, which is the maximum that
* Windows 8.1 and earlier can handle. On network drives, not only
* the client's Windows version matters, but also the server's,
* therefore we need to keep this to 64kB.
*/
WCHAR buffer[32 * 1024];
};
static struct trace_key trace_fscache = TRACE_KEY_INIT(FSCACHE);

0 comments on commit 9f16cdd

Please sign in to comment.
You can’t perform that action at this time.