summaryrefslogtreecommitdiff
path: root/gfio.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-24 08:56:50 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-24 08:56:50 +0100
commitcf3d824147fe285bba1c93f341f6e44c34aaccd9 (patch)
tree753ff0a9f3a46505aeb838fcc58fb074aeffb4c6 /gfio.h
parent80102c86786d7d50ba72366cee03061735b3cbac (diff)
gfio: start of per-job option edit
Currently we don't properly handle job files with multiple job entries in them, each one just overwrites the last. Start tracking all of them. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'gfio.h')
-rw-r--r--gfio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gfio.h b/gfio.h
index b8de680..854f7ad 100644
--- a/gfio.h
+++ b/gfio.h
@@ -136,11 +136,16 @@ struct end_results {
struct thread_stat ts;
};
+struct gfio_client_options {
+ struct flist_head list;
+ struct thread_options o;
+};
+
struct gfio_client {
struct gui_entry *ge;
struct fio_client *client;
GtkWidget *err_entry;
- struct thread_options o;
+ struct flist_head o_list;
struct end_results *results;
unsigned int nr_results;