Merge branch 'master' of ssh://router/data/git/fio
[fio.git] / init.c
diff --git a/init.c b/init.c
index 83957cfc10e09eb76e1206f6ba1d705b5a0e043a..a50362674e21902b30cd1519146e29c59a6ba48b 100644 (file)
--- a/init.c
+++ b/init.c
@@ -293,6 +293,9 @@ static int fixup_options(struct thread_data *td)
                o->time_based = 0;
        }
 
+       if (o->fill_device && !o->size)
+               o->size = ULONG_LONG_MAX;
+
        return 0;
 }