From: Jens Axboe Date: Wed, 4 Apr 2012 20:11:58 +0000 (-0600) Subject: iolog: remove assert in io_u overlap X-Git-Tag: fio-2.0.7~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=885ac623a4f154007efa49266bb381bcbc60f1e6;p=fio.git iolog: remove assert in io_u overlap This can happen very rarely for time based jobs. Before we had this as an assert since it was an impossible to hit condition, but now it can be expected very rarely with verify and time based jobs. Signed-off-by: Jens Axboe --- diff --git a/iolog.c b/iolog.c index 1d61ba23..12f09d0e 100644 --- a/iolog.c +++ b/iolog.c @@ -239,7 +239,9 @@ restart: else if (ipo->offset > __ipo->offset) p = &(*p)->rb_right; else { - assert(ipo->len == __ipo->len); + dprint(FD_IO, "iolog: overlap %llu/%lu, %llu/%lu", + __ipo->offset, __ipo->len, + ipo->offset, ipo->len); td->io_hist_len--; rb_erase(parent, &td->io_hist_tree); remove_trim_entry(td, __ipo);