Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364139
b: refs/heads/master
c: 2a6aba8
h: refs/heads/master
i:
  364137: 761326d
  364135: 803bd7b
v: v3
  • Loading branch information
Wanpeng Li authored and Greg Kroah-Hartman committed Apr 13, 2013
1 parent 8b1f694 commit cea228d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7d751ff1d866faf723c5ed4d9a7815c37bc07cd
refs/heads/master: 2a6aba8585c0f56d24daf53bfff29c91bcf0db8a
8 changes: 8 additions & 0 deletions trunk/drivers/staging/zcache/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ config RAMSTER
zcache2, compresses swap pages into local RAM, but then remotifies
the compressed pages to another node in the RAMster cluster.

config RAMSTER_DEBUG
bool "Enable ramster debug statistics"
depends on DEBUG_FS && RAMSTER
default n
help
This is used to provide an debugfs directory with counters of
how ramster is doing. You probably want to set this to 'N'.

# Depends on not-yet-upstreamed mm patches to export end_swap_bio_write and
# __add_to_swap_cache, and implement __swap_writepage (which is swap_writepage
# without the frontswap call. When these are in-tree, the dependency on
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/zcache/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
zcache-y := zcache-main.o tmem.o zbud.o
zcache-$(CONFIG_ZCACHE_DEBUG) += debug.o
zcache-$(CONFIG_RAMSTER) += ramster/debug.o
zcache-$(CONFIG_RAMSTER_DEBUG) += ramster/debug.o
zcache-$(CONFIG_RAMSTER) += ramster/ramster.o ramster/r2net.o
zcache-$(CONFIG_RAMSTER) += ramster/nodemanager.o ramster/tcp.o
zcache-$(CONFIG_RAMSTER) += ramster/heartbeat.o ramster/masklog.o
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/zcache/ramster/debug.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <linux/bug.h>

#ifdef CONFIG_RAMSTER
#ifdef CONFIG_RAMSTER_DEBUG

extern long ramster_flnodes;
static atomic_t ramster_flnodes_atomic = ATOMIC_INIT(0);
Expand Down

0 comments on commit cea228d

Please sign in to comment.