From: Jens Axboe Date: Thu, 15 Mar 2012 17:57:03 +0000 (+0100) Subject: gfio: include direct/buffered IO type in the iotype field X-Git-Tag: gfio-0.1~120 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ddbafc149d62546acdef933fab0d23e3946b40be gfio: include direct/buffered IO type in the iotype field Signed-off-by: Jens Axboe --- diff --git a/gfio.c b/gfio.c index c67e4924..14ec1d52 100644 --- a/gfio.c +++ b/gfio.c @@ -1909,7 +1909,8 @@ static void gfio_add_job_op(struct fio_client *client, struct fio_net_cmd *cmd) gtk_combo_box_append_text(GTK_COMBO_BOX(ge->eta.names), (gchar *) o->name); gtk_combo_box_set_active(GTK_COMBO_BOX(ge->eta.names), 0); - multitext_add_entry(&ge->eta.iotype, ddir_str(o->td_ddir)); + sprintf(tmp, "%s %s", o->odirect ? "direct" : "buffered", ddir_str(o->td_ddir)); + multitext_add_entry(&ge->eta.iotype, tmp); c1 = fio_uint_to_kmg(o->min_bs[DDIR_READ]); c2 = fio_uint_to_kmg(o->max_bs[DDIR_WRITE]);