summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-20 10:16:03 -0700
committerJens Axboe <jaxboe@fusionio.com>2011-01-20 10:16:03 -0700
commit74586c1efe37b4eac189cd8dd1eb00e96babce3f (patch)
treead9a60737f672b22530f0c1b48e588b967855c88
parent4f12432eee5bbd821a7baebd940c6890aafa703a (diff)
downloadfio-74586c1efe37b4eac189cd8dd1eb00e96babce3f.tar.gz
fio-74586c1efe37b4eac189cd8dd1eb00e96babce3f.tar.bz2
Add fill_fs alias for fill_device
Name implies that it works on a device, which isn't quite correct. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--HOWTO3
-rw-r--r--fio.12
-rw-r--r--options.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/HOWTO b/HOWTO
index e8fbd97f..d4e70923 100644
--- a/HOWTO
+++ b/HOWTO
@@ -375,7 +375,8 @@ filesize=int Individual file sizes. May be a range, in which case fio
and limited to 'size' in total (if that is given). If not
given, each created file is the same size.
-fill_device=bool Sets size to something really large and waits for ENOSPC (no
+fill_device=bool
+fill_fs=bool Sets size to something really large and waits for ENOSPC (no
space left on device) as the terminating condition. Only makes
sense with sequential write. For a read workload, the mount
point will be filled first then IO started on the result. This
diff --git a/fio.1 b/fio.1
index a6547eef..a8c0027b 100644
--- a/fio.1
+++ b/fio.1
@@ -231,7 +231,7 @@ divided between the available files for the job. If not set, fio will use the
full size of the given files or devices. If the the files do not exist, size
must be given.
.TP
-.BI fill_device \fR=\fPbool
+.BI fill_device \fR=\fPbool "\fR,\fB fill_fs" \fR=\fPbool
Sets size to something really large and waits for ENOSPC (no space left on
device) as the terminating condition. Only makes sense with sequential write.
For a read workload, the mount point will be filled first then IO started on
diff --git a/options.c b/options.c
index de2d0370..55d11ae7 100644
--- a/options.c
+++ b/options.c
@@ -1037,6 +1037,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
},
{
.name = "fill_device",
+ .alias = "fill_fs",
.type = FIO_OPT_BOOL,
.off1 = td_var_offset(fill_device),
.help = "Write until an ENOSPC error occurs",