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>
Fri, 26 Jan 2024 21:24:34 +0000 (14:24 -0700)
commit3ef826924303470507ccd6e84d34c901c1ee34da
tree9787bb83caa768990e956d7107ff6e124041d407
parent6613476e225e090cc9aad49be7fa504e290dd33d
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