+ /* set up and start rebalance thread */
+ thread_set_flags(&qmt->qmt_reba_thread, SVC_STOPPED);
+ init_waitqueue_head(&qmt->qmt_reba_thread.t_ctl_waitq);
+ CFS_INIT_LIST_HEAD(&qmt->qmt_reba_list);
+ spin_lock_init(&qmt->qmt_reba_lock);
+ rc = qmt_start_reba_thread(qmt);
+ if (rc) {
+ CERROR("%s: failed to start rebalance thread (%d)\n",
+ qmt->qmt_svname, rc);
+ GOTO(out, rc);
+ }
+