[dm-devel] [PATCH 1/6] libmultipath: print alias with no_path_retry message
Benjamin Marzinski
bmarzins at redhat.com
Tue May 9 16:57:00 UTC 2017
the "flush_on_last_del in progress" message in select_no_path_retry
should print the device alias.
Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
libmultipath/propsel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
index 09fe728..d393710 100644
--- a/libmultipath/propsel.c
+++ b/libmultipath/propsel.c
@@ -456,7 +456,7 @@ int select_no_path_retry(struct config *conf, struct multipath *mp)
char buff[12];
if (mp->flush_on_last_del == FLUSH_IN_PROGRESS) {
- condlog(0, "flush_on_last_del in progress");
+ condlog(0, "%s: flush_on_last_del in progress", mp->alias);
mp->no_path_retry = NO_PATH_RETRY_FAIL;
return 0;
}
--
1.8.3.1
More information about the dm-devel
mailing list