X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Ftiobench.c;h=bdb5985da006b11a4c611c48fc5e4e9e93f9b912;hb=20876c53b5d32f2da9049af5e7fb102133946981;hp=0279e1cafbec95d286f802889ec8045729a2c3cc;hpb=13fca827b9c2bb71358fcaa3a7e6e89419d5b1b8;p=fio.git diff --git a/profiles/tiobench.c b/profiles/tiobench.c index 0279e1ca..bdb5985d 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -14,6 +14,7 @@ static const char *tb_opts[] = { "buffered=0", sz_idx, bs_idx, loop_idx, dir_idx, t_idx, "timeout=600", "group_reporting", "thread", "overwrite=1", "filename=.fio.tio.1:.fio.tio.2:.fio.tio.3:.fio.tio.4", + "ioengine=sync", "name=seqwrite", "rw=write", "end_fsync=1", "name=randwrite", "stonewall", "rw=randwrite", "end_fsync=1", "name=seqread", "stonewall", "rw=read", @@ -75,9 +76,8 @@ static struct fio_option options[] = { /* * Fill our private options into the command line */ -static void tb_prep_cmdline(void) +static int tb_prep_cmdline(void) { - /* * tiobench uses size as MB, so multiply up */ @@ -96,6 +96,7 @@ static void tb_prep_cmdline(void) sprintf(dir_idx, "directory=./"); sprintf(t_idx, "numjobs=%u", nthreads); + return 0; } static struct profile_ops tiobench_profile = {