stat: save the default ioprio in struct thread_stat
[fio.git] / client.c
index 7a4bfc0d37ec88dfb013b2b4e77e4550264ab6de..83be6a57bfd5c8a6bd1b6b0d2ad1d44a59af8822 100644 (file)
--- a/client.c
+++ b/client.c
@@ -954,6 +954,7 @@ static void convert_ts(struct thread_stat *dst, struct thread_stat *src)
        dst->pid                = le32_to_cpu(src->pid);
        dst->members            = le32_to_cpu(src->members);
        dst->unified_rw_rep     = le32_to_cpu(src->unified_rw_rep);
+       dst->ioprio             = le32_to_cpu(src->ioprio);
 
        for (i = 0; i < DDIR_RWDIR_CNT; i++) {
                convert_io_stat(&dst->clat_stat[i], &src->clat_stat[i]);