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/fio.c b/fio.c index e9b27d9..1c79d68 100644 --- a/fio.c +++ b/fio.c
@@ -568,6 +568,10 @@ } } + if (td->o.fill_device && td->error == ENOSPC) { + td->error = 0; + td->terminate = 1; + } if (!td->error) { struct fio_file *f;