Skip to content

Commit

Permalink
libmultipath: reduce log level for DMP_NOT_FOUND
Browse files Browse the repository at this point in the history
multipath makes many calls just to check if a device exists. Don't warn
on each of these.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
  • Loading branch information
bmarzins authored and mwilck committed Nov 26, 2024
1 parent 1602920 commit 3196f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmultipath/devmapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ static int libmp_mapinfo__(int flags, mapid_t id, mapinfo_t info, const char *ma
condlog(2, "%s: dm_task_get_info() failed for %s ", fname__, map_id);
return DMP_ERR;
} else if(!dmi.exists) {
condlog(2, "%s: map %s doesn't exist", fname__, map_id);
condlog(3, "%s: map %s doesn't exist", fname__, map_id);
return DMP_NOT_FOUND;
}

Expand Down

0 comments on commit 3196f91

Please sign in to comment.