[PATCH] Add full command line parameter support
You may now give full job options on the command line. Makes it easier
to script fio or for one-off runs, as you don't have to write a job file
and run that.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h
index d8b0152..f8b8e38 100644
--- a/fio.h
+++ b/fio.h
@@ -164,7 +164,7 @@
* This describes a single thread/process executing a fio job.
*/
struct thread_data {
- char name[32];
+ char *name;
char *directory;
char *filename;
char verror[80];
@@ -575,7 +575,7 @@
#define FIO_IOOPS_VERSION 3
-extern struct ioengine_ops *load_ioengine(struct thread_data *, char *);
+extern struct ioengine_ops *load_ioengine(struct thread_data *, const char *);
extern void close_ioengine(struct thread_data *);
/*