aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/stats.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2014-01-23 04:42:58 -0800
committerKent Overstreet <kmo@daterainc.com>2014-03-18 12:22:35 -0700
commit3f5e0a34daed197aa55d0c6b466bb4cd03babb4f (patch)
treeb272bd69976053f6ce802c896ec0a14431ee0bed /drivers/md/bcache/stats.c
parentbcache: stop moving_gc marking buckets that can't be moved. (diff)
downloadlinux-dev-3f5e0a34daed197aa55d0c6b466bb4cd03babb4f.tar.xz
linux-dev-3f5e0a34daed197aa55d0c6b466bb4cd03babb4f.zip
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/stats.c')
-rw-r--r--drivers/md/bcache/stats.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/bcache/stats.c b/drivers/md/bcache/stats.c
index 84d0782f702e..0ca072c20d0d 100644
--- a/drivers/md/bcache/stats.c
+++ b/drivers/md/bcache/stats.c
@@ -201,9 +201,6 @@ void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
struct cached_dev *dc = container_of(d, struct cached_dev, disk);
mark_cache_stats(&dc->accounting.collector, hit, bypass);
mark_cache_stats(&c->accounting.collector, hit, bypass);
-#ifdef CONFIG_CGROUP_BCACHE
- mark_cache_stats(&(bch_bio_to_cgroup(s->orig_bio)->stats), hit, bypass);
-#endif
}
void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d)