Whamcloud - gitweb
LU-13667 ptlrpc: fix endless loop issue 44/39344/2
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 19 Jun 2020 02:53:12 +0000 (10:53 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 7 Aug 2020 21:14:23 +0000 (21:14 +0000)
commit95cd26446e16c63b531ed94a844b5f69c8b3730f
tree07333dcca4f3c2837415262399377782b137a156
parent7635e6326de88bfd035c82ac9261e90e4f9b4a1b
LU-13667 ptlrpc: fix endless loop issue

In ptlrpc_pinger_main, if the process to ping the recoverable
clients or obd_update_maxusage takes too long time, it could
be stuck in endless loop because of the negative value returned
by pinger_check_timeout.

Lustre-change: https://review.whamcloud.com/38915
Lustre-commit: 6be2dbb2595121fabceda86c5f7bdcb45e10b320

Change-Id: Ib7fc22b3cc31255223bc2be60224ced1a3585f87
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/39344
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/pinger.c