]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72996e328c7f187662e046efafef0e40d3dc2b97
treef6c565620e5b0492b663d7e980f221c8f5dffcad
parentb35e2b714b3c79332daf9f28ba44d14556bdd068
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