block: move cgroup time handling code into blk.h
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Jan 2024 21:14:59 +0000 (14:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Feb 2024 17:07:17 +0000 (10:07 -0700)
commitc4e47bbb00dad9240f4c054859950e962042ecb8
tree8b543ed825f8dd5cdbe231f1b5aeffeb6720c144
parent72e84e909eb5354e1e405c968dfdc4dcc23d41cc
block: move cgroup time handling code into blk.h

In preparation for moving time keeping into blk.h, move the cgroup
related code for timestamps in here too. This will help avoid a circular
dependency, and also moves it into a more appropriate header as this one
is private to the block layer code.

Leave struct bio_issue in blk_types.h as it's a proper time definition.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.h
block/blk.h
include/linux/blk_types.h