X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fpinger.c;h=d866933bbe87527bd999c22b8c146fc544683457;hp=68912f75673a9b92aad78e6749e8765aa862361c;hb=c2424023bf0675c170571c3974fb8c2aadba4791;hpb=415998b31c55bdc7140b05aabff008ef1acd9869 diff --git a/lustre/ptlrpc/pinger.c b/lustre/ptlrpc/pinger.c index 68912f7..d866933b 100644 --- a/lustre/ptlrpc/pinger.c +++ b/lustre/ptlrpc/pinger.c @@ -132,7 +132,7 @@ static void ptlrpc_pinger_process_import(struct obd_import *imp, imp->imp_force_verify = 0; spin_unlock_irqrestore(&imp->imp_lock, flags); - if (imp->imp_next_ping - this_ping > obd_timeout) { + if (imp->imp_next_ping - this_ping > obd_timeout * HZ) { CWARN("wrong ping time %lu (current %lu)\n", imp->imp_next_ping, this_ping); imp->imp_next_ping = ptlrpc_next_reconnect(imp);