[Devel] [PATCH RH7 0/9] Port: fence watchdog feature

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Oct 13 07:52:50 PDT 2015


https://jira.sw.ru/browse/PSBM-33648

/dev/watchdog "softdog" is really close but it has several problems:
- no shutdown action
- no network blocking action
- can not get timeout and timeleft
- set timeout through ioctl only
- set action in module load parameters only
- our userspace(shaman) is using our interface

so it is easier to port our watchdog

Pavel Tikhomirov (9):
  Port: diff-fence-watchdog-introduce-fencing-watchdog-for-HA-cluster-3
  Port: diff-fence-watchdog-add-support-of-crash
  Port: diff-fence-watchdog-write-log-message-when-timer-elapses
  Port: diff-fence-watchdog-rename-action-to-halt
  Port: diff-fence-watchdog-schedule-work-in-case-of-halt-action
  Port: diff-fence-watchdog-add-netfilter-action
  Port: diff-fence-watchdog-add-wdog_tmo-match
  Port: diff-fence-watchdog-arptables-add-ability-to-filter-by     
    -watchdog-timeout-v5
  Port: diff-fence-watchdog-netfilter-add-aliases-for-module-wdog_tmo

 arch/x86/include/asm/vvar.h                   |   1 +
 include/linux/fence-watchdog.h                |   7 +
 include/uapi/linux/netfilter_arp/arp_tables.h |   7 +-
 kernel/Kconfig.openvz                         |   5 +
 kernel/Makefile                               |   1 +
 kernel/fence-watchdog.c                       | 203 ++++++++++++++++++++++++++
 net/core/dev.c                                |  12 ++
 net/ipv4/netfilter/arp_tables.c               |   9 ++
 net/netfilter/Kconfig                         |   6 +
 net/netfilter/Makefile                        |   1 +
 net/netfilter/xt_wdog_tmo.c                   |  53 +++++++
 11 files changed, 302 insertions(+), 3 deletions(-)
 create mode 100644 include/linux/fence-watchdog.h
 create mode 100644 kernel/fence-watchdog.c
 create mode 100644 net/netfilter/xt_wdog_tmo.c

-- 
1.9.3




More information about the Devel mailing list