Whamcloud - gitweb
b=18689
authorzhanghc <zhanghc>
Mon, 20 Apr 2009 12:01:09 +0000 (12:01 +0000)
committerzhanghc <zhanghc>
Mon, 20 Apr 2009 12:01:09 +0000 (12:01 +0000)
change thread name "ll_log_commit_*" in
llog_recov_thread_init into "lcm_*" so it
can be fitted into the task struct

i=adilger

lustre/ptlrpc/recov_thread.c

index b33522b..9a035ad 100644 (file)
@@ -477,7 +477,7 @@ struct llog_commit_master *llog_recov_thread_init(char *name)
          * Try to create threads with unique names.
          */
         snprintf(lcm->lcm_name, sizeof(lcm->lcm_name), 
-                 "ll_log_commit_%s", name);
+                 "lcm_%s", name);
 
         atomic_set(&lcm->lcm_count, 0);
         spin_lock_init(&lcm->lcm_lock);