Commit eea8f41c authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe

blkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.h

cgroup aware writeback support will require exposing some of blkcg
details.  In preprataion, move block/blk-cgroup.h to
include/linux/blk-cgroup.h.  This patch is pure file move.
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent c4843a75
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/atomic.h> #include <linux/atomic.h>
#include "blk-cgroup.h" #include <linux/blk-cgroup.h>
#include "blk.h" #include "blk.h"
#define MAX_KEY_LEN 100 #define MAX_KEY_LEN 100
......
...@@ -32,12 +32,12 @@ ...@@ -32,12 +32,12 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/ratelimit.h> #include <linux/ratelimit.h>
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/blk-cgroup.h>
#define CREATE_TRACE_POINTS #define CREATE_TRACE_POINTS
#include <trace/events/block.h> #include <trace/events/block.h>
#include "blk.h" #include "blk.h"
#include "blk-cgroup.h"
#include "blk-mq.h" #include "blk-mq.h"
EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_remap); EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_remap);
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/blktrace_api.h> #include <linux/blktrace_api.h>
#include <linux/blk-mq.h> #include <linux/blk-mq.h>
#include <linux/blk-cgroup.h>
#include "blk.h" #include "blk.h"
#include "blk-cgroup.h"
#include "blk-mq.h" #include "blk-mq.h"
struct queue_sysfs_entry { struct queue_sysfs_entry {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/blktrace_api.h> #include <linux/blktrace_api.h>
#include "blk-cgroup.h" #include <linux/blk-cgroup.h>
#include "blk.h" #include "blk.h"
/* Max dispatch from a group in 1 round */ /* Max dispatch from a group in 1 round */
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <linux/ioprio.h> #include <linux/ioprio.h>
#include <linux/blktrace_api.h> #include <linux/blktrace_api.h>
#include <linux/blk-cgroup.h>
#include "blk.h" #include "blk.h"
#include "blk-cgroup.h"
/* /*
* tunables * tunables
......
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/blk-cgroup.h>
#include <trace/events/block.h> #include <trace/events/block.h>
#include "blk.h" #include "blk.h"
#include "blk-cgroup.h"
static DEFINE_SPINLOCK(elv_list_lock); static DEFINE_SPINLOCK(elv_list_lock);
static LIST_HEAD(elv_list); static LIST_HEAD(elv_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment