glusterfs: update for new API
[fio.git] / profiles / tiobench.c
index 8af6f4edb1116984e3192c3c8c059d06d46c2826..f19a08577bb2450f0597cc9202e8c00c9eb495a6 100644 (file)
@@ -39,7 +39,7 @@ static struct fio_option options[] = {
                .lname  = "Tiobench size",
                .type   = FIO_OPT_STR_VAL,
                .off1   = offsetof(struct tiobench_options, size),
-               .help   = "Size in MB",
+               .help   = "Size in MiB",
                .category = FIO_OPT_C_PROFILE,
                .group  = FIO_OPT_G_TIOBENCH,
        },
@@ -49,7 +49,7 @@ static struct fio_option options[] = {
                .type   = FIO_OPT_INT,
                .off1   = offsetof(struct tiobench_options, bs),
                .help   = "Block size in bytes",
-               .def    = "4k",
+               .def    = "4096",
                .category = FIO_OPT_C_PROFILE,
                .group  = FIO_OPT_G_TIOBENCH,
        },
@@ -70,6 +70,7 @@ static struct fio_option options[] = {
                .help   = "Test directory",
                .category = FIO_OPT_C_PROFILE,
                .group  = FIO_OPT_G_TIOBENCH,
+               .no_free = true,
        },
        {
                .name   = "threads",
@@ -91,7 +92,7 @@ static struct fio_option options[] = {
 static int tb_prep_cmdline(void)
 {
        /*
-        * tiobench uses size as MB, so multiply up
+        * tiobench uses size as MiB, so multiply up
         */
        size *= 1024 * 1024ULL;
        if (size)