path: root/block/bounce.c
diff options
authorDennis Zhou <>2018-12-05 12:10:32 -0500
committerJens Axboe <>2018-12-07 22:26:37 -0700
commite439bedf6b24264f620cc05627e23a90054bde41 (patch)
treef6c565620e5b0492b663d7e980f221c8f5dffcad /block/bounce.c
parent5cdf2e3fea5ee37b66842d76a9b06e6dac0b933d (diff)
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 <> Acked-by: Tejun Heo <> Reviewed-by: Liu Bo <> Reviewed-by: Josef Bacik <> Signed-off-by: Jens Axboe <>
Diffstat (limited to 'block/bounce.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/block/bounce.c b/block/bounce.c
index 559c55bda040..cfb96d5170d0 100644
--- a/block/bounce.c
+++ b/block/bounce.c
@@ -278,6 +278,7 @@ static struct bio *bounce_clone_bio(struct bio *bio_src, gfp_t gfp_mask,
bio_clone_blkcg_association(bio, bio_src);
+ blkcg_bio_issue_init(bio);
return bio;