ocfs2: add uuid to ocfs2 thread name for problem analysis
[linux-2.6-block.git] / fs / ocfs2 / dlm / dlmthread.c
index 2e5e6d5fffe8d8b0458498fcf89c5ee845e20848..c5f6c241ecd7d3e71006ad71cfcb1b2134e47221 100644 (file)
@@ -493,7 +493,8 @@ int dlm_launch_thread(struct dlm_ctxt *dlm)
 {
        mlog(0, "Starting dlm_thread...\n");
 
-       dlm->dlm_thread_task = kthread_run(dlm_thread, dlm, "dlm_thread");
+       dlm->dlm_thread_task = kthread_run(dlm_thread, dlm, "dlm-%s",
+                       dlm->name);
        if (IS_ERR(dlm->dlm_thread_task)) {
                mlog_errno(PTR_ERR(dlm->dlm_thread_task));
                dlm->dlm_thread_task = NULL;