[PATCH] Add 'description' option
Can help provide a textual description of a job, if it's submitted
to someone for run/review.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/stat.c b/stat.c
index 636955e..8ea1b8a 100644
--- a/stat.c
+++ b/stat.c
@@ -409,6 +409,9 @@
}
fprintf(f_out, " IO depths : 1=%3.1f%%, 2=%3.1f%%, 4=%3.1f%%, 8=%3.1f%%, 16=%3.1f%%, 32=%3.1f%%, >=64=%3.1f%%\n", io_u_dist[0], io_u_dist[1], io_u_dist[2], io_u_dist[3], io_u_dist[4], io_u_dist[5], io_u_dist[6]);
+
+ if (td->description)
+ fprintf(f_out, "%s\n", td->description);
}
static void show_ddir_status_terse(struct thread_data *td,