Add a variable CTDB_CHECK_SWAP_IS_NOT_USED="yes"
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Feb 2010 00:32:22 +0000 (11:32 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 16 Feb 2010 00:01:39 +0000 (11:01 +1100)
commitdb87849bf3380914a63a626412bec209dbea7d20
treea2357a79cf0ca98c8c579271fc1883dbcca47ab0
parentcfc1a4f878b61c85063af649d2339431e799647d
Add a variable CTDB_CHECK_SWAP_IS_NOT_USED="yes"
to control whether or not to check if we are swapping, and produce
useful output into the logfile if we are.

For production systems with dedicated nas-heads we should never swap.
But for developer/test systems we often use smaller nondedicated systems where
we can no longer guarantee that we will not be using swap.
config/events.d/00.ctdb