Add fill_fs alias for fill_device
authorJens Axboe <jaxboe@fusionio.com>
Thu, 20 Jan 2011 17:16:03 +0000 (10:16 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 20 Jan 2011 17:16:03 +0000 (10:16 -0700)
Name implies that it works on a device, which isn't quite correct.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
HOWTO
fio.1
options.c

diff --git a/HOWTO b/HOWTO
index e8fbd97f6ab2693920b93101e654873005516f3a..d4e70923facf5b0b3ed322a551bee9a445fc3046 100644 (file)
--- 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 a6547eefb55e5792169d78c8b0da2634142a1ded..a8c0027b15ff3a1cac220a94bf7b750009b481af 100644 (file)
--- 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
index de2d037093481bc4bfe4797f69ac089b74b5db4f..55d11ae719aaf0e3c4af957b99df3a9d3948be63 100644 (file)
--- 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",