X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=6bb21ebb2ace311c3b4643bb6adbfbbcf045b444;hb=0551c57127daf6b3773fed9b471b70a0d983ca59;hp=6f6b211bc47228d98a37fe0c023d31426e5ab2d4;hpb=b61fdc8a555f844ba838c80781972df1239b5959;p=fio.git diff --git a/fio.h b/fio.h index 6f6b211b..6bb21ebb 100644 --- a/fio.h +++ b/fio.h @@ -280,6 +280,11 @@ struct thread_data { int shm_id; + /* + * Job default IO priority set with prioclass and prio options. + */ + unsigned int ioprio; + /* * IO engine hooks, contains everything needed to submit an io_u * to any of the available IO engines. @@ -365,6 +370,8 @@ struct thread_data { uint64_t bytes_done[DDIR_RWDIR_CNT]; uint64_t *thinktime_blocks_counter; + struct timespec last_thinktime; + uint64_t last_thinktime_blocks; /* * State for random io, a bitmap of blocks done vs not done