> >> It might be better to continue to attempt to run the
> >> other jobs.
> >
> > We should just go for the simpler create/nocreate solution, I prefer
> > that. This is too involved, and it's hard to get all the cases right
> > since there are a bunch of different ways that files are added. Which
> > was why this patch only focused on filename=, since that is the one that
> > is the most interesting. But it still isn't pretty. If we add the
> > allow_file_create option, it's basically a two-liner change in a few
> > places to not use O_CREAT.
>
> That took roughly 4 minutes... Does this work? Set allow_file_create=0
> to disallow creating new files.
>
Mostly.
With no size= setting or size=xx%, the error messages it prints are
about the lack of size, not the fact that file creation is disallowed.
It does proceed to run the jobs that have valid filenames.
drive_af: you need to specify size=
fio: pid=0, err=22/file:filesetup.c:822, func=total_file_size, error=Invalid
argument
drive_af: you need to specify size=
fio: pid=0, err=22/file:filesetup.c:822, func=total_file_size, error=Invalid
argument
...
drive_ag: you need to specify size=
fio: pid=0, err=22/file:filesetup.c:822, func=total_file_size, error=Invalid
argument
Jobs: 168 (f=168): [r(168),X(24)] [0.0% done] [2449MB/0KB/0KB /s] [627K/0/0
iops] [eta 02d:11h:58m:33s]
With size=xxm (a fixed size), it prints complaints about O_DIRECT.
It does proceed to run the jobs that have valid filenames.
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
fio: pid=21834, err=22/file:filesetup.c:613, func=open(/dev/sdaf),
error=Invalid argument
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
fio: pid=21846, err=22/file:filesetup.c:613, func=open(/dev/sdag),
error=Invalid argument
fio: looks like your file system does not support direct=1/buffered=0
fio: destination does not support O_DIRECT
...
fio: pid=21856, err=22/file:filesetup.c:613, func=open(/dev/sdag),
error=Invalid argument
Jobs: 168 (f=168): [r(168),X(24)] [0.0% done] [2449MB/0KB/0KB /s] [627K/0/0
iops] [eta 02d:11h:58m:50s]
---
Rob Elliott HP Server Storage
N�����r��y����b�X��ǧv�^�){.n�+���������ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?�����&�)ߢf