]> 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)
commit779ede295d0d2d5333970915967b83d07446c515
treef6c565620e5b0492b663d7e980f221c8f5dffcad
parent29df0f912578a4ed7db96e5bed6fc2543bcc6307
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