summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-16 22:14:59 +0100
committerJens Axboe <axboe@kernel.dk>2024-02-05 18:07:17 +0100
commitc4e47bbb00dad9240f4c054859950e962042ecb8 (patch)
tree8b543ed825f8dd5cdbe231f1b5aeffeb6720c144 /block/blk-cgroup.h
parentblk-mq: special case cached requests less (diff)
downloadlinux-c4e47bbb00dad9240f4c054859950e962042ecb8.tar.xz
linux-c4e47bbb00dad9240f4c054859950e962042ecb8.zip
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;