windows: reduce block size used in posix_fallocate()
[fio.git] / os / windows / posix.c
index 29ed2c57172735b6bf73abed670d543a772badc5..ce41ef8edfb75cb4df615ca5006fb39218434428 100755 (executable)
@@ -377,7 +377,7 @@ char *basename(char *path)
 
 int posix_fallocate(int fd, off_t offset, off_t len)
 {
-       const int BUFFER_SIZE = 64 * 1024 * 1024;
+       const int BUFFER_SIZE = 256 * 1024;
        int rc = 0;
        char *buf;
        unsigned int write_len;