X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.c;h=612057d15762dfa13e7e48bc48e99658f9e8880a;hp=9adc31bf04d1ce3cbaaaa2ddaa94e6b7f4dcb569;hb=effd6ff0d9f701a64d6bc46509eedfdcfd12f553;hpb=e75cc8f3a296fe5910eee9b7f25cc8cb524b4518 diff --git a/io_u.c b/io_u.c index 9adc31bf..612057d1 100644 --- a/io_u.c +++ b/io_u.c @@ -1301,7 +1301,7 @@ void lat_target_check(struct thread_data *td) * If latency target is enabled, we might be ramping up or down and not * using the full queue depth available. */ -int queue_full(struct thread_data *td) +int queue_full(const struct thread_data *td) { const int qempty = io_u_qempty(&td->io_u_freelist);