commit | 7bc8c2cf02fbd538ca388618ff2f4618787a86e0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Jan 28 11:31:31 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Jan 28 11:31:31 2010 +0100 |
tree | 4e2d6cc6bc364075078e0bfc2c666e871a45c0d8 | |
parent | 98061ac36a26e216635cba6cf348f36360bd206e [diff] [blame] |
Add specific knob for controlling fallocate() usage Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c index 1543eb9..1c07982 100644 --- a/options.c +++ b/options.c
@@ -1081,6 +1081,15 @@ }, .parent = "nrfiles", }, +#ifdef FIO_HAVE_FALLOCATE + { + .name = "fallocate", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(fallocate), + .help = "Use fallocate() when laying out files", + .def = "1", + }, +#endif { .name = "fadvise_hint", .type = FIO_OPT_BOOL,