iolog: update stale comment
authorJens Axboe <axboe@kernel.dk>
Wed, 18 Apr 2018 14:12:07 +0000 (08:12 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Apr 2018 14:12:07 +0000 (08:12 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
iolog.c

diff --git a/iolog.c b/iolog.c
index 598548d2f037ad4314254cb4b5f14f9722fb4ebf..74c89f0cae2de5c3b0bad5438dc63ac9d211db28 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -227,11 +227,7 @@ void log_io_piece(struct thread_data *td, struct io_u *io_u)
        }
 
        /*
-        * We don't need to sort the entries if we only performed sequential
-        * writes. In this case, just reading back data in the order we wrote
-        * it out is the faster but still safe.
-        *
-        * One exception is if we don't have a random map in which case we need
+        * Only sort writes if we don't have a random map in which case we need
         * to check for duplicate blocks and drop the old one, which we rely on
         * the rb insert/lookup for handling.
         */