From: Martin Wilck <[email protected]>
Signed-off-by: Martin Wilck <[email protected]>
---
libmultipath/structs.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libmultipath/structs.c b/libmultipath/structs.c
index c2565239..e225f8b4 100644
--- a/libmultipath/structs.c
+++ b/libmultipath/structs.c
@@ -504,6 +504,12 @@ void setup_feature(struct multipath *mpp, char *feature)
else
condlog(1, "%s: ignoring feature queue_if_no_path
because no_path_retry = %d",
mpp->alias, mpp->no_path_retry);
+ } else if (!strcmp(feature, "retain_attached_hw_handler")) {
+ if (mpp->retain_hwhandler != RETAIN_HWHANDLER_OFF)
+ mpp->retain_hwhandler = RETAIN_HWHANDLER_ON;
+ else
+ condlog(1, "%s: ignoring feature
'retain_attached_hw_handler'",
+ mpp->alias);
}
}
--
2.11.0
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel