[multipathd] fail/reinstate CLI commands disable/enable path checker
authorChristophe Varoqui <christophe.varoqui@free.fr>
Sat, 11 Aug 2007 08:41:31 +0000 (10:41 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Sat, 11 Aug 2007 08:41:31 +0000 (10:41 +0200)
commitc8115c03bacd91af26da3bb0b6d0fa634e33ce57
tree3c3729e1ef1a7ef11a3780eed3c63d25efaab180
parenta9033a808dd377da6605660dfc245a82057254cc
[multipathd] fail/reinstate CLI commands disable/enable path checker

The "fail path X" CLI command was an interesting debug tool, showing the checkers automatically reinstating the failed path. But some fun spoilers want to use the thing to prepare cable unplugs and other maintenance ops. So make the command also care about diabling and enabling the checker to inhibit auto-reinstates.
libcheckers/checkers.c
libcheckers/checkers.h
multipathd/cli_handlers.c