mars/Kconfig

191 lines
4.4 KiB
Plaintext
Raw Normal View History

2010-06-14 14:27:40 +00:00
#
# MARS configuration
#
2011-08-25 10:16:32 +00:00
2010-06-14 14:27:40 +00:00
config MARS
tristate "storage system MARS (EXPERIMENTAL)"
2010-06-14 14:27:40 +00:00
default n
---help---
Experimental storage System. Only compile as a module!
2010-06-14 14:27:40 +00:00
2011-08-25 10:16:32 +00:00
config MARS_BIGMODULE
tristate "compile all MARS modules into a single kernel module"
depends on MARS
default m
select MARS_HAVE_BIGMODULE
---help---
Normally ON. Switch off only for EXPERIMENTS!
2011-08-25 10:16:32 +00:00
2012-01-11 15:16:39 +00:00
config MARS_LOGFILE
string "full path to the logfile"
depends on MARS
default "/mars/log.txt"
---help---
Path to the logfile where all MARS messages go to.
The logfile must already exist in order to be appended.
Logiles can be rotated by renaming them and creating
a new empty file in place of the old one.
When none exists, messages are either reported to syslog when
CONFIG_MARS_USE_SYSLOG is set, or else MARS will be qiet.
config MARS_USE_SYSLOG
bool "use syslog for messages"
depends on MARS
default n
---help---
Normally OFF.
2012-01-11 15:16:39 +00:00
When switched on (and no logfile exists), the syslog
may get flooded by printk() messages, leading to performance
problems if remote syslog forwarding is enabled (and possibly
in other cases). Thus we recommend to prefer file logging.
When this option is off, the logfile will be used (if one exists).
2012-01-17 10:48:56 +00:00
config MARS_SCAN_INTERVAL
int "re-scanning of symlinks in /mars/ (in seconds)"
depends on MARS
default 10
---help---
May influence the system load; dont use too low nubmers.
config MARS_FAST_TRIGGER
bool "fast internal triggering"
depends on MARS
default y
---help---
Normally ON. Switch off in case of endless trigger loops
config MARS_MEM_PREALLOC
bool "avoid memory fragmentation by preallocation"
depends on MARS
default y
---help---
Normally ON. Switch off only for EXPERIMENTS!
#config MARS_HUNG
# bool "hangup on kernel stacktrace (EXPERIMENTAL!!!)"
# depends on MARS && MARS_BIGMODULE!=m
# default n
# ---help---
# Normally OFF. Switch on only for EXPERIMENTS!
config MARS_LOGROT
bool "allow logrotate during operation"
depends on MARS
default y
---help---
Normally ON. Switch off only for EXPERIMENTS!
config MARS_MIN_SPACE
bool "check for filesystem overflow in /mars"
depends on MARS
default y
---help---
Normally ON. Switch off only for EXPERIMENTS!
config MARS_PREFER_SIO
bool "prefer sio bricks instead of aio"
depends on MARS
2012-01-12 14:07:44 +00:00
default n
---help---
2012-01-12 14:07:44 +00:00
Normally OFF for production systems.
Only use as alternative for testing.
##### mostly obsolete
2011-03-07 18:36:08 +00:00
2010-06-14 14:27:40 +00:00
config MARS_DUMMY
tristate "MARS dummy brick"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-06-14 14:27:40 +00:00
default m
---help---
Experimental storage System.
2010-11-26 13:45:10 +00:00
config MARS_CHECK
tristate "MARS check brick"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-11-26 13:45:10 +00:00
default m
---help---
Experimental storage System.
2011-03-07 10:27:38 +00:00
config MARS_IF
2010-06-14 14:27:40 +00:00
tristate "interface to a linux device"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-06-14 14:27:40 +00:00
default m
---help---
Experimental storage System.
2011-03-18 13:15:40 +00:00
config MARS_BIO
tristate "interface to blkdev via kernel BIO"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2011-03-18 13:15:40 +00:00
default m
---help---
Experimental storage System.
2011-03-07 10:27:38 +00:00
config MARS_AIO
2011-07-28 11:41:06 +00:00
tristate "interface to a linux file (Asynchronous IO)"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-11-26 13:45:10 +00:00
default m
---help---
Experimental storage System.
2011-03-07 10:27:38 +00:00
config MARS_SIO
2011-07-28 11:41:06 +00:00
tristate "interface to a linux file, synchronous (currently unused)"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-06-14 14:27:40 +00:00
default m
---help---
Experimental storage System.
2010-07-07 14:09:16 +00:00
config MARS_BUF
2011-07-28 11:41:06 +00:00
tristate "buffer brick (currently unused)"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-07-07 14:09:16 +00:00
default m
---help---
Experimental storage System.
2010-11-26 13:45:10 +00:00
config MARS_USEBUF
2011-07-28 11:41:06 +00:00
tristate "usebuf brick (currently unused)"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-11-26 13:45:10 +00:00
default m
---help---
Experimental storage System.
2010-06-28 05:53:46 +00:00
config MARS_TRANS_LOGGER
tristate "transaction logger"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2010-06-28 05:53:46 +00:00
default m
---help---
Experimental storage System.
2011-02-23 20:48:06 +00:00
config MARS_SERVER
tristate "server brick"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2011-02-23 20:48:06 +00:00
default m
---help---
Experimental storage System.
config MARS_CLIENT
tristate "client brick"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2011-02-23 20:48:06 +00:00
default m
---help---
Experimental storage System.
config MARS_COPY
tristate "copy brick"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2011-02-23 20:48:06 +00:00
default m
---help---
Experimental storage System.
config MARS_LIGHT
2011-07-28 11:41:06 +00:00
tristate "MARS Light main (protoype, will be replaced)"
2011-08-25 10:16:32 +00:00
depends on MARS && MARS_BIGMODULE!=m
2011-02-23 20:48:06 +00:00
default m
---help---
Experimental storage System.
2011-08-25 10:16:32 +00:00
# the following is used as an internal proprocessor symbol
config MARS_HAVE_BIGMODULE
bool