Don't apply the implicit runtime always#138
Don't apply the implicit runtime always#138nobuto-m wants to merge 1 commit intolouwrentius:masterfrom
Conversation
When `--size` is supplied, it makes sense to complete the testing of the specified size rather than ending the test after the default runtime (60s). However, we should leave a space for a specific use case that an user specifies both `--size` and `--runtime` as per the fio manual. > runtime=time > > The test will run until it completes the configured I/O workload or > until it has run for this specified amount of time, whichever occurs > first Closes: louwrentius#137
|
Thanks for the clarification and pr! |
|
Unfortunately, this fix doesn't seem to work for me. This step: So this code: The settings["runtime"] is already the default so this won't work as I see it. I fear that the best solution here is just to document that you should specify --runtime 0 if you specify the --size parameter with a device but don't want to use --entire-device. I'm open to ideas! |
|
Hmm, I thought the patch worked for me. I might be wrong so let me retest it and get back to you. |
|
Hi all, I do not think it is a good idea to change the code here. The conflict problems should be solved by user, why not make the paraini.py be able to identify a None value, like we did in function checks.check_settings: Then we can update the customsettings["runtime"] None to settings["runtime"]. |
When
--sizeis supplied, it makes sense to complete the testing of the specified size rather than ending the test after the default runtime (60s). However, we should leave a space for a specific use case that an user specifies both--sizeand--runtimeas per the fio manual.Closes: #137