Lines Matching refs:queue_if_no_path
99 struct timer_list nopath_timer; /* Timeout for queue_if_no_path */
732 static int queue_if_no_path(struct multipath *m, bool queue_if_no_path,
739 DMDEBUG("%s: %s caller=%s queue_if_no_path=%d save_old_value=%d",
740 dm_dev_name, __func__, caller, queue_if_no_path, save_old_value);
753 } else if (!queue_if_no_path && saved_queue_if_no_path_bit) {
757 assign_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags, queue_if_no_path);
767 if (!queue_if_no_path) {
776 * If the queue_if_no_path timeout fires, turn off queue_if_no_path and
783 DMWARN("queue_if_no_path timeout on %s, failing queued IO",
785 queue_if_no_path(m, false, false, __func__);
789 * Enable the queue_if_no_path timeout if necessary.
1124 if (!strcasecmp(arg_name, "queue_if_no_path")) {
1125 r = queue_if_no_path(m, true, false, __func__);
1731 * queue_if_no_path state is lost - userspace should reset it.
1732 * Otherwise, during noflush suspend, queue_if_no_path will not change.
1738 /* FIXME: bio-based shouldn't need to always disable queue_if_no_path */
1740 queue_if_no_path(m, false, true, __func__);
1753 * Restore the queue_if_no_path setting.
1815 DMEMIT("queue_if_no_path ");
1929 if (!strcasecmp(argv[0], "queue_if_no_path")) {
1930 r = queue_if_no_path(m, true, false, __func__);
1936 r = queue_if_no_path(m, false, false, __func__);