Message ID | 20170228162329.14517-22-mwilck@suse.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Mike Snitzer |
Headers | show |
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); } }