X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=blktrace.c;h=9afc5be045224165c682e9b71c2ec238cd069c98;hp=8d288b080392063775c8ad477f57ef7c8bac5791;hb=65fa28ca25ff0128b13d8ab6b3a0f9f75e33825f;hpb=40bafa33e1cf7907e7c1a030c9c8134900ac7280 diff --git a/blktrace.c b/blktrace.c index 8d288b08..9afc5be0 100644 --- a/blktrace.c +++ b/blktrace.c @@ -459,8 +459,8 @@ int load_blktrace(struct thread_data *td, const char *filename, int need_swap) * we don't know if this option was set or not. it defaults to 1, * so we'll just guess that we should override it if it's still 1 */ - if (td->o.iodepth != 1) - td->o.iodepth = depth; + if (td->o.iodepth == 1) + td->o.iodepth = td->o.iodepth_low = depth; return 0; err: