@@ -461,6 +461,9 @@ static void process_queued_ios(struct wo
m->pg_init_count++;
m->pg_init_required = 0;
list_for_each_entry(tmp, &pgpath->pg->pgpaths, list) {
+ /* Skip failed paths */
+ if (!tmp->is_active)
+ continue;
if (queue_work(kmpath_handlerd, &tmp->activate_path))
m->pg_init_in_progress++;
}
@@ -1143,8 +1146,7 @@ static void pg_init_done(void *data, int
errors = 0;
break;
}
- DMERR("Cannot failover device because scsi_dh_%s was not "
- "loaded.", m->hw_handler_name);
+ DMERR("Could not failover device. Error %d.", errors);
/*
* Fail path for now, so we do not ping pong
*/