summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--block/test-iosched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/test-iosched.c b/block/test-iosched.c
index e9936c639c17..b85a4a961408 100644
--- a/block/test-iosched.c
+++ b/block/test-iosched.c
@@ -352,6 +352,7 @@ struct test_request *test_iosched_create_test_req(int is_err_expcted,
rq->__sector = start_sec;
rq->cmd_type |= REQ_TYPE_FS;
rq->cmd_flags |= REQ_SORTED;
+ rq->cmd_flags &= ~REQ_IO_STAT;
if (rq->bio) {
rq->bio->bi_sector = start_sec;