blk-mq: blk_account_io_start() takes a bool
authorJens Axboe <axboe@fb.com>
Sat, 3 Dec 2016 03:00:14 +0000 (20:00 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 5 Dec 2016 19:14:28 +0000 (12:14 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
block/blk-mq.c

index bac12caece0664fa0c690a33fa35c60ca83e039d..90db5b490df9a7a9bf768937c6cb06415b400cce 100644 (file)
@@ -1237,7 +1237,7 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio)
 {
        init_request_from_bio(rq, bio);
 
-       blk_account_io_start(rq, 1);
+       blk_account_io_start(rq, true);
 }
 
 static inline bool hctx_allow_merges(struct blk_mq_hw_ctx *hctx)