Brian Burkhalter
Brian Burkhalter
> This is hard to review. Would it be possible to provide a summary on the APIs and df behave with quotas? We use the Windows API [GetDiskFreeSpaceEx](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdiskfreespaceexw) wherein it...
In reality GetFreeDiskSpaceEx does not appear to recognize the quotas, at least in our tests.
The version of the test in commit 991dc9a6bf86e3ec54fd1c244c655a86506a697d passed 5 repeats on Linux and macOS and 51 repeats on Windows, including on a node on which it previously failed.
Commit 8129630943ae98e79bceff18c20a5cb71d30ffd9 passed 50 repeats on the Unix platforms and 150 on Windows.
`jdk.test.lib.RandomFactory` can be used to generate a reproducible sequence of random numbers. An example of its use may be seen for example in `java/nio/file/Files/CopyAndMove.java`
Currently for `java.io.FileInputStream.read(byte[],int,int)` and `java.io.FileOutputStream.write(byte[],int,int)`, for example, if the number of bytes respectively to be read or written exceeds 8192, an array of the total length of the read or...
> The benchmark results are quite unexpected. Would we benefit from reducing the buffer size even further? I tested with smaller and smaller buffer sizes until the performance started to...
> By the way: FileOutputStream has exactly the same problem with `write(byte[])`. I see no test for it, but I assume this is now also fixed. That's a longstanding issue...