summaryrefslogtreecommitdiff
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-16 14:14:59 -0700
committerJens Axboe <axboe@kernel.dk>2024-02-05 10:07:17 -0700
commitc4e47bbb00dad9240f4c054859950e962042ecb8 (patch)
tree8b543ed825f8dd5cdbe231f1b5aeffeb6720c144 /block/blk-cgroup.h
parent72e84e909eb5354e1e405c968dfdc4dcc23d41cc (diff)
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>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index b927a4a0ad03..78b74106bf10 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -19,6 +19,7 @@
#include <linux/kthread.h>
#include <linux/blk-mq.h>
#include <linux/llist.h>
+#include "blk.h"
struct blkcg_gq;
struct blkg_policy_data;