[PATCH] Revert 'multipathd: Do not print misleading message "not found in pathvec"'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As discussed on the mailing list the logging messages should remain,
so revert the patch, increase the logging level and update the
message itself to be more instructive.

Signed-off-by: Hannes Reinecke <hare@xxxxxxxx>
---
 libmultipath/structs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libmultipath/structs.c b/libmultipath/structs.c
index 937e4a2..502d98e 100644
--- a/libmultipath/structs.c
+++ b/libmultipath/structs.c
@@ -418,6 +418,7 @@ find_path_by_dev (vector pathvec, char * dev)
 		if (!strcmp(pp->dev, dev))
 			return pp;
 
+	condlog(4, "%s: dev not found in pathvec", dev);
 	return NULL;
 }
 
@@ -434,6 +435,7 @@ find_path_by_devt (vector pathvec, char * dev_t)
 		if (!strcmp(pp->dev_t, dev_t))
 			return pp;
 
+	condlog(4, "%s: dev_t not found in pathvec", dev_t);
 	return NULL;
 }
 
-- 
2.6.6

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux