iolog: remove assert in io_u overlap
authorJens Axboe <axboe@kernel.dk>
Wed, 4 Apr 2012 20:11:58 +0000 (14:11 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Apr 2012 20:11:58 +0000 (14:11 -0600)
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 <axboe@kernel.dk>
iolog.c

diff --git a/iolog.c b/iolog.c
index 1d61ba23ac3ba82b6334ad45dc0a16aee7babd49..12f09d0ec019b075625fd6a4f016337657c9e151 100644 (file)
--- 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);