From: Jens Axboe Date: Thu, 20 Jan 2011 17:16:03 +0000 (-0700) Subject: Add fill_fs alias for fill_device X-Git-Tag: fio-1.50-rc4~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=74586c1efe37b4eac189cd8dd1eb00e96babce3f 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 --- 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",