Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
current branches now use lnet from HEAD
[fs/lustre-release.git]
/
lustre
/
snapfs
/
sysctl.c
diff --git
a/lustre/snapfs/sysctl.c
b/lustre/snapfs/sysctl.c
index
1969081
..
b9d40d6
100644
(file)
--- a/
lustre/snapfs/sysctl.c
+++ b/
lustre/snapfs/sysctl.c
@@
-40,12
+40,13
@@
static struct ctl_table_header *snapfs_table_header = NULL;
/* These are global control options */
#define ENTRY_CNT 3
/* These are global control options */
#define ENTRY_CNT 3
+int snap_print_entry = 1;
+int snap_debug_level = 0;
+
/* XXX - doesn't seem to be working in 2.2.15 */
static struct ctl_table snapfs_ctltable[] =
{
/* XXX - doesn't seem to be working in 2.2.15 */
static struct ctl_table snapfs_ctltable[] =
{
-#ifdef SNAP_DEBUG
{PSDEV_DEBUG, "debug", &snap_debug_level, sizeof(int), 0644, NULL, &proc_dointvec},
{PSDEV_DEBUG, "debug", &snap_debug_level, sizeof(int), 0644, NULL, &proc_dointvec},
-#endif
{PSDEV_TRACE, "trace", &snap_print_entry, sizeof(int), 0644, NULL, &proc_dointvec},
{0}
};
{PSDEV_TRACE, "trace", &snap_print_entry, sizeof(int), 0644, NULL, &proc_dointvec},
{0}
};