From 50381480eb4c9dda78074dea5b10c504a2ea9fc5 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 10 Sep 2007 07:45:57 +1000 Subject: [PATCH] update a comment (This used to be ctdb commit e7d3ef4443686529299e8f293398cc0522235627) --- ctdb/config/events.d/60.nfs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 49be4073681..8c9e7ebd780 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/config/events.d/60.nfs @@ -58,7 +58,6 @@ case $cmd in /bin/rm -f /etc/ctdb/state/statd/ip/$ip - #XXX we should only RST our local ports here # RST all tcp connections to the lockmanager [ ! -z "$LOCKD_TCPPORT" ] && { # RST all tcp connections used for NLM to ensure that they do @@ -75,9 +74,9 @@ case $cmd in } > /dev/null 2>&1 - # RST all tcp connections used for NFS to ensure that they do - # not survive in ESTABLISHED state across a failover/failback - # and create an ack storm + # RST the local side for all tcp connections used for NFS to ensure + # that they do not survive in ESTABLISHED state across a + # failover/failback and create an ack storm netstat -tn |egrep "^tcp.*\s+$ip:2049\s+.*ESTABLISHED" | awk '{print $4" "$5}' | while read dest src; do srcip=`echo $src | cut -d: -f1` srcport=`echo $src | cut -d: -f2` -- 2.47.3