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
529 struct md_thread *thread;
535 /* daemaon thread must exist */
536 thread = rcu_dereference_protected(mddev->thread, true);
537 wait_event(thread->wqueue,
554 md_wakeup_thread(mddev->thread);
622 * thread for receiving message
624 static void recv_daemon(struct md_thread *thread)
626 struct md_cluster_info *cinfo = thread->mddev->cluster_info;
640 /* read lvb and wake up thread to process this message_lockres */
642 ret = process_recvd_msg(thread->mddev, &msg);
694 * If resync thread run after raid1d thread, then process_metadata_update
697 * so let resync wake up thread in case flag is set.
704 md_wakeup_thread(mddev->thread);
733 * and the other nodes read the message. The thread will wait here until all other
978 /* wake up recv thread in case something need to be handled */
1061 md_wakeup_thread(mddev->thread);
1377 * If resync thread is interrupted so we can't say resync is finished,
1378 * another node will launch resync thread to continue.
1439 * md_wakeup_thread(mddev->thread)
1440 * -> conf->thread (raid1d)