Whamcloud - gitweb
LU-9235 libcfs: don't dump stack if just touched 20/28520/2
authorHongchao Zhang <hongchao.zhang@intel.com>
Wed, 10 May 2017 03:45:19 +0000 (11:45 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 16 Aug 2017 20:44:14 +0000 (20:44 +0000)
commit6fc678dc265a3c321108ab083d3448fab378a135
tree237b64d4f15f0cf300351a3a264b61505f409028
parent01439917a3faee145f46772c4c53063429057c0c
LU-9235 libcfs: don't dump stack if just touched

If some lc_watchdog was touched before lcw_dump_stack dumped
the stack of the thread, it should not dump it anymore for
the thread is verified to be active and no need to dump.

Lustre-change: https://review.whamcloud.com/23162
Lustre-commit: 1376094062c1e46c985f04d82821114d84329699

Change-Id: I8e4acc1793bb8458ee3b6dc73f2953670ed22896
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28520
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
libcfs/libcfs/watchdog.c