blkcg: consolidate bio_issue_init to be a part of core
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Tue, 11 Sep 2018 18:41:30 +0000 (14:41 -0400)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Sep 2018 02:29:08 +0000 (20:29 -0600)
commit5bf9a1f3b4efef7e463105dde8bba4d2397909c2
treec3179d65eba843d4cfa945544743955e889ad3f5
parenta7b39b4e961c4e2b3ed837803a7441a65c90ce33
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 <dennisszhou@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.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