Lines Matching defs:thread
286 static void recover_bitmaps(struct md_thread *thread)
288 struct mddev *mddev = thread->mddev;
333 /* wake up thread to continue resync in case resync
338 * resync thread in current node.
343 md_wakeup_thread(mddev->thread);
368 pr_warn("md-cluster: Could not create recovery thread\n");
416 * This function wakes up the receive thread in
458 md_wakeup_thread(mddev->thread);
481 * and set RESYNC_MASK since resync thread is running
533 wait_event(mddev->thread->wqueue,
550 md_wakeup_thread(mddev->thread);
619 * thread for receiving message
621 static void recv_daemon(struct md_thread *thread)
623 struct md_cluster_info *cinfo = thread->mddev->cluster_info;
637 /* read lvb and wake up thread to process this message_lockres */
639 ret = process_recvd_msg(thread->mddev, &msg);
691 * If resync thread run after raid1d thread, then process_metadata_update
694 * so let resync wake up thread in case flag is set.
701 md_wakeup_thread(mddev->thread);
730 * and the other nodes read the message. The thread will wait here until all other
974 /* wake up recv thread in case something need to be handled */
1057 md_wakeup_thread(mddev->thread);
1376 * If resync thread is interrupted so we can't say resync is finished,
1377 * another node will launch resync thread to continue.
1438 * md_wakeup_thread(mddev->thread)
1439 * -> conf->thread (raid1d)