Whamcloud - gitweb
LU-4423 ptlrpc: use workqueue for pinger 28/31728/3
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 22 Mar 2018 17:02:08 +0000 (20:02 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 12 May 2018 03:52:49 +0000 (03:52 +0000)
commit0c94b2331d0cd2ed100d0cf1b4f25b86190d9f8f
tree6e92f82470822705f9443ef8a9f6297883f53529
parent4031b885c1dd6b9f8af724b1b4ddf9f638b2b834
LU-4423 ptlrpc: use workqueue for pinger

lustre has a "pinger" kthread which periodically pings peers to ensure
all hosts are functioning.

This can more easily be done using a work queue.

The SVC_EVENT functionality to wake up the thread can be replaced with
mod_delayed_work().

Change-Id: I6064e9baea186323ab2eb0cca61ed23fcf8b55f7
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: https://review.whamcloud.com/31728
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/pinger.c