From 039c582adfb8fbb537f1b3dcacd518a6681b0cef Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Wed, 22 Feb 2012 14:30:41 +0800 Subject: [PATCH] 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 --- lustre/ldlm/ldlm_lib.c | 1 + 1 file changed, 1 insertion(+) 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()); -- 1.8.3.1