From: Bobi Jam Date: Wed, 22 Feb 2012 06:30:41 +0000 (+0800) Subject: LU-1125 recovery: initial recovery thread's watchdog X-Git-Tag: 2.1.58~19 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=039c582adfb8fbb537f1b3dcacd518a6681b0cef LU-1125 recovery: initial recovery thread's watchdog Recovery thread does not have watchdog attached, correctly initialize it. Signed-off-by: Bobi Jam Change-Id: I6993c39bbf18f47e9ccd965a5d2ba1919cfb7736 Reviewed-on: http://review.whamcloud.com/2174 Reviewed-by: Niu Yawei Tested-by: Hudson Tested-by: Maloo Reviewed-by: Mike Pershin Reviewed-by: Oleg Drokin --- diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 967ddf5..57f7eb9 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1835,6 +1835,7 @@ static int target_recovery_thread(void *arg) thread->t_id = -1; /* force filter_iobuf_get/put to use local buffers */ env.le_ctx.lc_thread = thread; thread->t_data = NULL; + thread->t_watchdog = NULL; CDEBUG(D_HA, "%s: started recovery thread pid %d\n", obd->obd_name, cfs_curproc_pid());