Whamcloud - gitweb
b=22359 fix t_id for the recovery thread
[fs/lustre-release.git] / lustre / ldlm / ldlm_lib.c
index 0e0ccab..3b4479b 100644 (file)
@@ -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,