commit | aa31f1f108348ba2a8749c73fa8c25f3d4630a7c | [log] [tgz] |
---|---|---|
author | Shawn Lewis <shawnlewis@google.com> | Fri Jan 11 09:45:11 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jan 11 09:45:11 2008 +0100 |
tree | 8e3f51838e300fdf3ad3c7af76f826208d627aa0 | |
parent | 8f9cc4a9928d057945becd351c858c3433934465 [diff] [blame] |
Add fill_device option Add fill_device option. Causes fio to write until ENOSPC occurs (assuming rw=write). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/init.c b/init.c index 83957cf..a503626 100644 --- a/init.c +++ b/init.c
@@ -293,6 +293,9 @@ o->time_based = 0; } + if (o->fill_device && !o->size) + o->size = ULONG_LONG_MAX; + return 0; }