btt: Replace overlapping IO

Currently btt keeps the original IO in its RB-tree even if it sees new
IO that is beginning at the same sector. However such IO most likely
means that we have just lost the completion event for the IO that is
still in the tree. So in such case replacing the IO in RB-tree makes
more sense to avoid bogus IOs being reported as taking huge amount of

Signed-off-by: Jan Kara <>
Signed-off-by: Jens Axboe <>
1 file changed