Remove irrelevant Cygwin config flag CONFIG_FADVISE
[fio.git] / helper_thread.c
index d716f2b2513da369a368cda2f03ee210a7b4810f..47ec728cfa31d25f68742af81178bb95f3e5f928 100644 (file)
@@ -125,7 +125,7 @@ static void *helper_thread_main(void *data)
                if (!next_log)
                        next_log = DISK_UTIL_MSEC;
 
-               if (steadystate) {
+               if (steadystate_enabled) {
                        since_ss = mtime_since(&last_ss, &now);
                        if (since_ss >= STEADYSTATE_MSEC || STEADYSTATE_MSEC - since_ss < 10) {
                                steadystate_check();
@@ -140,7 +140,7 @@ static void *helper_thread_main(void *data)
                 }
 
                msec_to_next_event = min(min(next_log, msec_to_next_event), next_ss);
-               dprint(FD_STEADYSTATE, "since_ss: %llu, next_ss: %u, next_log: %u, msec_to_next_event: %u\n", (unsigned long long)since_ss, next_ss, next_log, msec_to_next_event);
+               dprint(FD_HELPERTHREAD, "since_ss: %llu, next_ss: %u, next_log: %u, msec_to_next_event: %u\n", (unsigned long long)since_ss, next_ss, next_log, msec_to_next_event);
 
                if (!is_backend)
                        print_thread_status();