Calculate min_rate with the consideration of thinktime
authorHongwei Qin <glqinhongwei@gmail.com>
Mon, 25 Jan 2021 12:40:00 +0000 (20:40 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 15:58:42 +0000 (08:58 -0700)
commit7216b664d93ef9c59ca5dbc8f54bad2118231ee3
treef12976ad319476b0cdecc7fdaae53414ec99fd0c
parent33f42c20b7b4da57b9ac5ebcd50f0de61c7144c8
Calculate min_rate with the consideration of thinktime

This patch updates the compare time if handle_thinktime
sleeps or spin.

Signed-off-by: Hongwei Qin <glqinhongwei@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c