aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/request.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/request.h')
-rw-r--r--drivers/md/bcache/request.h18
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
6struct data_insert_op { 4struct 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
43extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache; 41extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache;
44 42
45struct 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
59struct bch_cgroup *bch_bio_to_cgroup(struct bio *bio);
60
61#endif /* _BCACHE_REQUEST_H_ */ 43#endif /* _BCACHE_REQUEST_H_ */