test: only apply overhead test heuristic for AIO test case

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I29ee2575ba13724baad4caac72b35c57b92347ac
This commit is contained in:
Jim Harris 2016-08-01 14:32:08 -07:00
parent da214ab254
commit 766da93b27

View File

@ -345,7 +345,7 @@ check_io(void)
* will ensure this extra time is accounted for next time through
* when we see current_queue_depth drop to 0.
*/
if ((end - g_complete_tsc_start) < 500) {
if (g_ns->type == ENTRY_TYPE_NVME_NS || (end - g_complete_tsc_start) < 500) {
g_complete_tsc_start = end;
}
} else {