Stop the rport_id messages from being dispalyed all the time, and add a message
alerting users when multipath tries to setup a map and fails, or ends up
removing the map.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
"for create/reload map",
mpp->alias, r);
if (r == DOMAP_FAIL) {
+ condlog(2, "%s: %s map",
+ mpp->alias, (mpp->action == ACT_CREATE)?
+ "ignoring" : "removing");
remove_map(mpp, vecs, 0);
continue;
} else /* if (r == DOMAP_RETRY) */
vector_foreach_slot(mpp->paths, pp, i) {
rport_id = find_rport_id(pp);
if (rport_id < 0) {
- condlog(0, "failed to find rport_id for target%d:%d:%d", pp->sg_id.host_no, pp->sg_id.channel, pp->sg_id.scsi_id);
+ condlog(3, "failed to find rport_id for target%d:%d:%d", pp->sg_id.host_no, pp->sg_id.channel, pp->sg_id.scsi_id);
return 1;
}