diff options
author | Kent Overstreet <kmo@daterainc.com> | 2014-01-23 07:42:58 -0500 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-03-18 15:22:35 -0400 |
commit | 3f5e0a34daed197aa55d0c6b466bb4cd03babb4f (patch) | |
tree | b272bd69976053f6ce802c896ec0a14431ee0bed /drivers/md/bcache/request.h | |
parent | 3f6ef38110b6955327fea3105f004a3b61a3f65f (diff) |
bcache: Kill dead cgroup code
This hasn't been used or even enabled in ages.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/request.h')
-rw-r--r-- | drivers/md/bcache/request.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h index c117c4082aa2..1ff36875c2b3 100644 --- a/drivers/md/bcache/request.h +++ b/drivers/md/bcache/request.h | |||
@@ -1,8 +1,6 @@ | |||
1 | #ifndef _BCACHE_REQUEST_H_ | 1 | #ifndef _BCACHE_REQUEST_H_ |
2 | #define _BCACHE_REQUEST_H_ | 2 | #define _BCACHE_REQUEST_H_ |
3 | 3 | ||
4 | #include <linux/cgroup.h> | ||
5 | |||
6 | struct data_insert_op { | 4 | struct data_insert_op { |
7 | struct closure cl; | 5 | struct closure cl; |
8 | struct cache_set *c; | 6 | struct cache_set *c; |
@@ -42,20 +40,4 @@ void bch_flash_dev_request_init(struct bcache_device *d); | |||
42 | 40 | ||
43 | extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache; | 41 | extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache; |
44 | 42 | ||
45 | struct bch_cgroup { | ||
46 | #ifdef CONFIG_CGROUP_BCACHE | ||
47 | struct cgroup_subsys_state css; | ||
48 | #endif | ||
49 | /* | ||
50 | * We subtract one from the index into bch_cache_modes[], so that | ||
51 | * default == -1; this makes it so the rest match up with d->cache_mode, | ||
52 | * and we use d->cache_mode if cgrp->cache_mode < 0 | ||
53 | */ | ||
54 | short cache_mode; | ||
55 | bool verify; | ||
56 | struct cache_stat_collector stats; | ||
57 | }; | ||
58 | |||
59 | struct bch_cgroup *bch_bio_to_cgroup(struct bio *bio); | ||
60 | |||
61 | #endif /* _BCACHE_REQUEST_H_ */ | 43 | #endif /* _BCACHE_REQUEST_H_ */ |