2 # File which holds configuation parameters in a single place to avoid any
3 # mismatch between scripts (especially the cleanup scripts, which are
7 # If LOOPDEV is empty (""), then no loopback device will be configured.
8 # If TMPFILE is empty (""), then no temporary file will be created for loop.
9 TMPFILE="/tmp/obdfs.tmpfile"
12 # If LOOPDEV is empty, then it is assumed that BASEDEV is a real block device
13 # that doesn't mind being overwritten - don't use a partition with data on it!!
16 # The following are mount points for the filesystems during the test.
21 # This is where the snapshot table will be stored:
22 SNAPTABLE="/tmp/obdfs.snaptable"
24 # A simple routine called by most of the scripts to help debugging. The
25 # kernel code has a lot of debugging statements, so this helps us keep
26 # track of what is going on in user-land to generate the kernel messages.
29 if [ "$1" = "log" ]; then
30 logger -p $LOGMETH "******** $* **********"
34 logger -p $LOGMETH "****start**** $* *****"
38 logger -p $LOGMETH "*****end***** $* *****"