#include "smalloc.h"
#include "filehash.h"
-static char fio_version_string[] = "fio 1.20-rc2";
+static char fio_version_string[] = "fio 1.20-rc3";
#define FIO_RANDSEED (0xb1899bedUL)
.has_arg = required_argument,
.val = 'x',
},
+ {
+ .name = "alloc-size",
+ .has_arg = required_argument,
+ .val = 'a',
+ },
{
.name = NULL,
},
td->io_ops->flags |= FIO_RAWIO;
file_alloced = 0;
- if (!td->o.filename && !td->files_index) {
+ if (!td->o.filename && !td->files_index && !td->o.read_iolog_file) {
file_alloced = 1;
if (td->o.nr_files == 1 && exists_and_not_file(jobname))
printf("\t--readonly\tTurn on safety read-only checks, preventing"
" writes\n");
printf("\t--section=name\tOnly run specified section in job file\n");
+ printf("\t--alloc-size=kb\tSet smalloc pool to this size in kb"
+ " (def 1024)\n");
}
#ifdef FIO_INC_DEBUG
{ .name = "verify", .shift = FD_VERIFY },
{ .name = "random", .shift = FD_RANDOM },
{ .name = "parse", .shift = FD_PARSE },
+ { .name = "diskutil", .shift = FD_DISKUTIL },
{ },
};
while ((c = getopt_long_only(argc, argv, "", l_opts, &lidx)) != -1) {
switch (c) {
+ case 'a':
+ smalloc_pool_size = atoi(optarg);
+ break;
case 't':
def_timeout = atoi(optarg);
break;