From b98c2e2a463f4a9a5d548a9f20c9027f067a9709 Mon Sep 17 00:00:00 2001 From: "Alexander.Zarochentsev" Date: Thu, 8 Apr 2010 18:24:01 -0700 Subject: [PATCH] b=22359 fix t_id for the recovery thread arbitrary uninialized value in the recovery thread t_id was the reason of filter_iobuf_get()) ASSERTION(thread_id < filter->fo_iobuf_count) failure. i=tappro i=andrew.perepechko --- 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 0e0ccab..3b4479b 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1725,6 +1725,7 @@ static int target_recovery_thread(void *arg) RETURN(rc); thread->t_env = &env; + thread->t_id = -1; /* force filter_iobuf_get/put to use local buffers */ env.le_ctx.lc_thread = thread; CERROR("%s: started recovery thread pid %d\n", obd->obd_name, -- 1.8.3.1