The following changes since commit 1c964ce59ba23b1ab515a8f0b6506329c1c3d3e1: Only clear string pointer in parser for sub-value options (2011-08-31 16:45:03 -0600) are available in the git repository at: git://git.kernel.dk/fio.git master Jens Axboe (1): Use r/R/w/W instead of m/M for mixed workloads with 100% reads or writes eta.c | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) --- Diff of recent changes: diff --git a/eta.c b/eta.c index e1cced4..d93bf1a 100644 --- a/eta.c +++ b/eta.c @@ -28,10 +28,21 @@ static void check_str_update(struct thread_data *td) break; case TD_RUNNING: if (td_rw(td)) { - if (td_random(td)) - c = 'm'; - else - c = 'M'; + if (td_random(td)) { + if (td->o.rwmix[DDIR_READ] == 100) + c = 'r'; + else if (td->o.rwmix[DDIR_WRITE] == 100) + c = 'w'; + else + c = 'm'; + } else { + if (td->o.rwmix[DDIR_READ] == 100) + c = 'R'; + else if (td->o.rwmix[DDIR_WRITE] == 100) + c = 'W'; + else + c = 'M'; + } } else if (td_read(td)) { if (td_random(td)) c = 'r'; -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html