35f5570500
Update Source to upstream version 0.8.0 * Previous patches 0006 & 0007 are included in this commit Rename files * Previous patches 0008-0016 & 0100 are now patches 0018-0027 Add 0006-multipathd-Fix-miscounting-active-paths.patch Add 0007-multipathd-ignore-failed-wwid-recheck.patch * multipathd will no longer disable paths if it is unable to get their wwid on a change event Add 0008-libmutipath-continue-to-use-old-state-on-PATH_PENDIN.patch Add 0009-multipathd-use-update_path_groups-instead-of-reload_.patch Add 0010-multipath.conf-add-missing-options-to-man-page.patch Add 0011-libmultipath-add-get_uid-fallback-code-for-NVMe-devi.patch Add 0012-libmulitpath-cleanup-uid_fallback-code.patch Add 0013-multipathd-handle-changed-wwids-by-removal-and-addit.patch * if a path device changes wwid, it will now be removed and re-added to the correct multipath device. Add 0014-multipathd-remove-wwid_changed-path-attribute.patch Add 0015-multipathd-ignore-disable_changed_wwids.patch Add 0016-multipathd-Don-t-use-fallback-code-after-getting-wwi.patch Add 0017-libmultipath-silence-dm_is_mpath-error-messages.patch * The above 12 patches have been submitted upstream
32 lines
1006 B
Diff
32 lines
1006 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Thu, 28 Mar 2019 17:49:38 -0500
|
|
Subject: [PATCH] libmultipath: silence dm_is_mpath error messages
|
|
|
|
When "multipath -F" is run, dm_is_mpath was printing error messages
|
|
about partition devices, because they had already been removed, when
|
|
it checked. Lower the error logging level so this doesn't happen on
|
|
the default verbosity.
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
libmultipath/devmapper.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c
|
|
index 3294bd4..2e79667 100644
|
|
--- a/libmultipath/devmapper.c
|
|
+++ b/libmultipath/devmapper.c
|
|
@@ -746,7 +746,7 @@ out_task:
|
|
dm_task_destroy(dmt);
|
|
out:
|
|
if (r < 0)
|
|
- condlog(2, "%s: dm command failed in %s", name, __FUNCTION__);
|
|
+ condlog(3, "%s: dm command failed in %s: %s", name, __FUNCTION__, strerror(errno));
|
|
return r;
|
|
}
|
|
|
|
--
|
|
2.17.2
|
|
|