Update memfs-main.c

This commit is contained in:
John Oberschelp 2017-10-31 15:42:26 -07:00 committed by GitHub
parent 9a3ac3c7a1
commit 76ff8232bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,9 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
ULONG FileInfoTimeout = INFINITE; ULONG FileInfoTimeout = INFINITE;
ULONG MaxFileNodes = 1024; ULONG MaxFileNodes = 1024;
ULONG MaxFileSize = 16 * 1024 * 1024; ULONG MaxFileSize = 16 * 1024 * 1024;
ULONG SlowioMaxDelay = 0; // From -M : maximum delay in milliseconds
ULONG SlowioMaxDelay = 0; // From -M : maximum delay in milliseconds ULONG SlowioPercentDelay = 0; // From -D : percent of IO to slow down
ULONG SlowioPercentDelay = 0; // From -D : percent of IO to slow down ULONG SlowioRarefyDelay = 0; // From -R : adjust the rarity of long delays
ULONG SlowioRarefyDelay = 12; // From -R : adjust the rarity of long delays
PWSTR FileSystemName = 0; PWSTR FileSystemName = 0;
PWSTR MountPoint = 0; PWSTR MountPoint = 0;
PWSTR VolumePrefix = 0; PWSTR VolumePrefix = 0;
@ -144,11 +142,9 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
FileInfoTimeout, FileInfoTimeout,
MaxFileNodes, MaxFileNodes,
MaxFileSize, MaxFileSize,
SlowioMaxDelay,
SlowioMaxDelay, SlowioPercentDelay,
SlowioPercentDelay, SlowioRarefyDelay,
SlowioRarefyDelay,
FileSystemName, FileSystemName,
VolumePrefix, VolumePrefix,
RootSddl, RootSddl,
@ -209,7 +205,7 @@ usage:
" -n MaxFileNodes\n" " -n MaxFileNodes\n"
" -s MaxFileSize [bytes]\n" " -s MaxFileSize [bytes]\n"
" -M MaxDelay [maximum slow IO delay in millis]\n" " -M MaxDelay [maximum slow IO delay in millis]\n"
" -P PercentDelay [percent of IO to make slow IO\n" " -P PercentDelay [percent of IO to make slow IO\n"
" -R RarefyDelay [adjust the rarity of slow IO\n" " -R RarefyDelay [adjust the rarity of slow IO\n"