blkcg: consolidate bio_issue_init() to be a part of core
authorDennis Zhou <dennis@kernel.org>
Wed, 5 Dec 2018 17:10:32 +0000 (12:10 -0500)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:37 +0000 (22:26 -0700)
commite439bedf6b24264f620cc05627e23a90054bde41
treef6c565620e5b0492b663d7e980f221c8f5dffcad
parent5cdf2e3fea5ee37b66842d76a9b06e6dac0b933d
blkcg: consolidate bio_issue_init() to be a part of core

bio_issue_init among other things initializes the timestamp for an IO.
Rather than have this logic handled by policies, this consolidates it to
be on the init paths (normal, clone, bounce clone).

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/blk-iolatency.c
block/blk-throttle.c
block/bounce.c
include/linux/blk-cgroup.h