Merge pull request #1396 from alexmiller-apple/win-unbuffered-6.1
Open incrementalDelete files with OPEN_UNBUFFERED
This commit is contained in:
commit
fc269666fc
|
@ -88,7 +88,7 @@ ACTOR static Future<Void> incrementalDeleteHelper( std::string filename, bool mu
|
|||
state bool exists = fileExists(filename);
|
||||
|
||||
if(exists) {
|
||||
Reference<IAsyncFile> f = wait(IAsyncFileSystem::filesystem()->open(filename, IAsyncFile::OPEN_READWRITE | IAsyncFile::OPEN_UNCACHED, 0));
|
||||
Reference<IAsyncFile> f = wait(IAsyncFileSystem::filesystem()->open(filename, IAsyncFile::OPEN_READWRITE | IAsyncFile::OPEN_UNCACHED | IAsyncFile::OPEN_UNBUFFERED, 0));
|
||||
file = f;
|
||||
|
||||
int64_t fileSize = wait(file->size());
|
||||
|
|
Loading…
Reference in New Issue