in case of UML to aid debugging.
for (i = 0; i < LDLM_NUM_THREADS; i++) {
char name[32];
- sprintf(name, "lustre_dlm_%02d", i);
+ sprintf(name, "ldlm_%02d", i);
rc = ptlrpc_start_thread(obddev, ldlm->ldlm_cancel_service,
name);
if (rc) {
for (i = 0; i < LDLM_NUM_THREADS; i++) {
char name[32];
- sprintf(name, "lustre_dlm_%02d", i);
+ sprintf(name, "ldlm_%02d", i);
rc = ptlrpc_start_thread(obddev, ldlm->ldlm_cb_service, name);
if (rc) {
CERROR("cannot start LDLM thread #%d: rc %d\n", i, rc);
for (i = 0; i < MDT_NUM_THREADS; i++) {
char name[32];
- sprintf(name, "lustre_MDT_%02d", i);
+ sprintf(name, "ll_mdt_%02d", i);
rc = ptlrpc_start_thread(obddev, mds->mds_service, name);
if (rc) {
CERROR("cannot start MDT thread #%d: rc %d\n", i, rc);
for (i = 0; i < OST_NUM_THREADS; i++) {
char name[32];
- sprintf(name, "lustre_ost_%02d", i);
+ sprintf(name, "ll_ost_%02d", i);
err = ptlrpc_start_thread(obddev, ost->ost_service, name);
if (err) {
CERROR("error starting thread #%d: rc %d\n", i, err);
spin_unlock_irq(¤t->sigmask_lock);
#endif
+#ifdef __arch_um__
+ sprintf(current->comm, "%s|%d",
+ data->name, current->thread.extern_pid);
+#else
strcpy(current->comm, data->name);
+#endif
unlock_kernel();
OBD_ALLOC(event, sizeof(*event));