fio i/o errors and exit on windows. #1861
-
|
Hi, I am using log_avg_msec and write_iops_log to measure the duration of network volume outages. This works well when testing nfs v4 volumes on linux, but when testing cifs volumes on windows it fails. On linux, if the volume is inaccessible for 2 minutes or more, fio waits for the volume to come back online, and I can see the duration of the outage in the write_iops_log. On windows, if the volume is unavailable for 10 seconds or more, fio spews i/o error messages and exits. I tried setting max_latency=240s, but that does not help. Is there anything else I can do in the windows fio config, such that it will behave the same way as it does on linux? Thanks. job file: [global] [vol.0] PS C:\t> fio .\fio-cifs-file-load-vol-test.fio vol.0: (groupid=0, jobs=16): err= 5 (file:io_u.c:1976, func=io_u error, error=Input/output error): pid=7044: Mon Feb 3 22:05:43 2025 Run status group 0 (all jobs): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @github-dub:
TLDR: There's no fio configuration change that will help because the behaviour is down to how your filesystem is configured. With regular ioengines fio is at the mercy of filesystem/block device when it comes to how long a sent I/O can be waited for. If the filesystem returns an error after a given time for a particular I/O, the most that fio can do is ignore the error and carry on (see the As for why you see a difference between Windows and Linux: my guess is that on your Linux setup NFS has been configured to wait indefinitely if the NFS server goes away (see https://linux-nfs.org/wiki/index.php/NewNfsManPage#Valid_options_for_either_the_nfs_or_nfs4_file_system_type and note how |
Beta Was this translation helpful? Give feedback.
Hi @github-dub:
TLDR: There's no fio configuration change that will help because the behaviour is down to how your filesystem is configured.
With regular ioengines fio is at the mercy of filesystem/block device when it comes to how long a sent I/O can be waited for. If the filesystem returns …