X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=210cd2ff7ed437a1f19414a82e20600486cdfbc5;hp=a7dff0fc5bed83fc5e6506f1402adc7598abf42f;hb=aa31f1f108348ba2a8749c73fa8c25f3d4630a7c;hpb=8f9cc4a9928d057945becd351c858c3433934465 diff --git a/filesetup.c b/filesetup.c index a7dff0fc..210cd2ff 100644 --- a/filesetup.c +++ b/filesetup.c @@ -380,7 +380,7 @@ int setup_files(struct thread_data *td) * device/file sizes are zero and no size given, punt */ if ((!total_size || total_size == -1ULL) && !td->o.size && - !(td->io_ops->flags & FIO_NOIO)) { + !(td->io_ops->flags & FIO_NOIO) && !td->o.fill_device) { log_err("%s: you need to specify size=\n", td->o.name); td_verror(td, EINVAL, "total_file_size"); return 1;