Skip to contentSkip to conversation

Revert "multipath -U: reduce log level of "adding new path" message"

PATCH In review [email protected] 2 participants 2 messages Mar 19, 2021 – Mar 22, 2021 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "multipath -U: reduce log level of "adding new path" message"

From: Martin Wilck <[email protected]>

After "11-dm-mpath.rules: run "multipath -U" with -v1", this patch isn't necessary any more. It's desirable to see these messages from multipathd, as they mean that a valid path had been found in a map that wasn't present in the udev db.

---
If this is approved, unless anyone objects, I'll simply drop the patch that this reverts in the "queue" branch, performing a rebase.

---
 libmultipath/structs_vec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/structs_vec.c +1 -1
index 0b069f4..d242c06 100644
@@ -192,7 +192,7 @@ bool update_pathvec_from_dm(vector pathvec, struct multipath *mpp,
 						must_reload = true;
 						continue;
 					}
-					condlog(3, "%s: adding new path %s",
+					condlog(2, "%s: adding new path %s",
 						mpp->alias, pp->dev);
 					store_path(pathvec, pp);
 					pp->tick = 1;
Signature · 7 lines
2.30.1


--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Fri, Mar 19, 2021 at 05:26:47PM +0100, [email protected] wrote:

From: Martin Wilck <[email protected]>

After "11-dm-mpath.rules: run "multipath -U" with -v1", this patch isn't necessary any more. It's desirable to see these messages from multipathd, as they mean that a valid path had been found in a map that wasn't present in the udev db.

And I'm fine with you rebasing the queue branch.

Quoted 24 lines

---
If this is approved, unless anyone objects, I'll simply drop the patch that this reverts in the "queue" branch, performing a rebase.

---
 libmultipath/structs_vec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/structs_vec.c +1 -1
index 0b069f4..d242c06 100644
@@ -192,7 +192,7 @@ bool update_pathvec_from_dm(vector pathvec, struct multipath *mpp,
 						must_reload = true;
 						continue;
 					}
-					condlog(3, "%s: adding new path %s",
+					condlog(2, "%s: adding new path %s",
 						mpp->alias, pp->dev);
 					store_path(pathvec, pp);
 					pp->tick = 1;
Signature · 1 line
2.30.1

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel