projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client/server: pass type of client to the backend
[fio.git]
/
gfio.c
diff --git
a/gfio.c
b/gfio.c
index 980d70484d9ab242d8838418a96857dde410453b..73aeb2760156f235acf1d7e421ba4dd1b8d9803a 100644
(file)
--- a/
gfio.c
+++ b/
gfio.c
@@
-1545,7
+1545,7
@@
static void gfio_update_thread_status_all(char *status_message, double perc)
gtk_widget_queue_draw(ui->window);
}
gtk_widget_queue_draw(ui->window);
}
-static void gfio_quit_op(struct fio_client *client)
+static void gfio_quit_op(struct fio_client *client
, struct fio_net_cmd *cmd
)
{
struct gfio_client *gc = client->client_data;
{
struct gfio_client *gc = client->client_data;
@@
-1637,7
+1637,7
@@
static void gfio_client_job_start(struct fio_client *client, struct fio_net_cmd
}
struct client_ops gfio_client_ops = {
}
struct client_ops gfio_client_ops = {
- .text
_op
= gfio_text_op,
+ .text
= gfio_text_op,
.disk_util = gfio_disk_util_op,
.thread_status = gfio_thread_status_op,
.group_stats = gfio_group_stats_op,
.disk_util = gfio_disk_util_op,
.thread_status = gfio_thread_status_op,
.group_stats = gfio_group_stats_op,
@@
-1652,6
+1652,7
@@
struct client_ops gfio_client_ops = {
.job_start = gfio_client_job_start,
.eta_msec = FIO_CLIENT_DEF_ETA_MSEC,
.stay_connected = 1,
.job_start = gfio_client_job_start,
.eta_msec = FIO_CLIENT_DEF_ETA_MSEC,
.stay_connected = 1,
+ .client_type = FIO_CLIENT_TYPE_GUI,
};
/*
};
/*