From af678352910d9732a54c75ad001c9170479f63b4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 8 Nov 2005 09:28:08 +0100 Subject: [PATCH] [PATCH] fio: Change '+' runstate to show what the job is doing (r/R/w/W) --- fio.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/fio.c b/fio.c index f67d372..271afe5 100644 --- a/fio.c +++ b/fio.c @@ -2289,7 +2289,17 @@ static void check_str_update(struct thread_data *td, int n, int t, int m) c = 'E'; break; case TD_RUNNING: - c = '+'; + if (td_read(td)) { + if (td->sequential) + c = 'R'; + else + c = 'r'; + } else { + if (td->sequential) + c = 'W'; + else + c = 'w'; + } break; case TD_VERIFYING: c = 'V'; -- 2.25.1