iolog: add support for 'replay_no_stall'
authorJens Axboe <axboe@fb.com>
Tue, 18 Oct 2016 15:11:04 +0000 (09:11 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 18 Oct 2016 15:11:04 +0000 (09:11 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c

diff --git a/iolog.c b/iolog.c
index 686c7134b478ba0426bba60f2f4a715115bdea71..f0ce3b25002d0d01e5a671068f32199af9502017 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -425,6 +425,8 @@ static int read_iolog2(struct thread_data *td, FILE *f)
                                continue;
                        writes++;
                } else if (rw == DDIR_WAIT) {
+                       if (td->o.no_stall)
+                               continue;
                        waits++;
                } else if (rw == DDIR_INVAL) {
                } else if (!ddir_sync(rw)) {