From aa581c3602227beae7bb2674c5070ffd62e8922f Mon Sep 17 00:00:00 2001 From: ericm Date: Fri, 10 Mar 2006 22:23:30 +0000 Subject: [PATCH] branch: b1_5 cfs_time_shift() should take param in seconds instead of kernel timer which lead to pinger interval > server recovery timeout. --- lustre/ptlrpc/pinger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/ptlrpc/pinger.c b/lustre/ptlrpc/pinger.c index c897628..33a18ce 100644 --- a/lustre/ptlrpc/pinger.c +++ b/lustre/ptlrpc/pinger.c @@ -65,9 +65,9 @@ int ptlrpc_ping(struct obd_import *imp) static void ptlrpc_update_next_ping(struct obd_import *imp) { - imp->imp_next_ping = cfs_time_shift(cfs_time_seconds( - (imp->imp_state == LUSTRE_IMP_DISCON ? RECONNECT_INTERVAL : - PING_INTERVAL))); + imp->imp_next_ping = cfs_time_shift( + (imp->imp_state == LUSTRE_IMP_DISCON ? + RECONNECT_INTERVAL : PING_INTERVAL)); } void ptlrpc_ping_import_soon(struct obd_import *imp) -- 1.8.3.1