From: Jens Axboe Date: Tue, 6 Mar 2007 14:46:33 +0000 (+0100) Subject: Be sure to pick up any group error with group_reporting X-Git-Tag: fio-1.14~77 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2dc84ba74186eb9ef4dde0f08dc20571c62e001e Be sure to pick up any group error with group_reporting Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 07c9b62e..7d93abd5 100644 --- a/stat.c +++ b/stat.c @@ -651,11 +651,21 @@ void show_run_stats(void) members++; if (!ts->groupid) { + /* + * These are per-group shared already + */ ts->name = td->name; ts->description = td->description; - ts->error = td->error; ts->groupid = td->groupid; + + /* + * first pid in group, not very useful... + */ ts->pid = td->pid; + } + + if (td->error && !ts->error) { + ts->error = td->error; ts->verror = td->verror; }