Add softrandommap and --alloc-size options
The softrandommap job option allows fio to continue if it cannot
allocate from the smalloc backing for the random map. Or the user
can specify --alloc-size with a size larger than the default of 1024k
to increase the size of the shared allocation pool.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index 5626da7..ead31ac 100644
--- a/options.c
+++ b/options.c
@@ -669,6 +669,14 @@
.parent = "rw",
},
{
+ .name = "softrandommap",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(softrandommap),
+ .help = "Allow randommap to fail and continue witout",
+ .parent = "norandommap",
+ .def = "0",
+ },
+ {
.name = "nrfiles",
.type = FIO_OPT_INT,
.off1 = td_var_offset(nr_files),