Add new IO window advise modes

This commit is contained in:
Andrea Mazzoleni 2016-05-17 23:34:47 +02:00
parent 4298a238e9
commit 397c58c41e
5 changed files with 104 additions and 107 deletions

11
HISTORY
View file

@ -15,13 +15,12 @@ SnapRAID HISTORY
'\'.
* Added test options for selecting the file advise mode to use:
--test-io-advise-none for standard mode
--test-io-advise-sequential advise sequential operations (Linux/Windows)
--test-io-advise-flush flush data after every operation (Linux)
--test-io-advise-sequential advise sequential access (Linux/Windows)
--test-io-advise-flush flush cache after every operation (Linux)
--test-io-advise-flush-window flush cache every 8 MB (Linux)
--test-io-advise-discard discard cache after every operation (Linux)
--test-io-advise-discard-2 discard cache every 2 MB (Linux)
--test-io-advise-discard-8 discard cache every 8 MB (Linux)
--test-io-advise-discard-32 discard cache every 32 MB (Linux)
--test-io-advise-direct use direct mode (Linux/Windows)
--test-io-advise-discard-window discard cache every 8 MB (Linux)
--test-io-advise-direct use direct/unbuffered mode (Linux/Windows)
* Fixed running in Windows platforms that miss the RtlGenRandom
function.
* Added a new 'hashsize' configuration option. It could be useful in