My previous patch missed setting force_udev_reload on resizes initiated
by

multipathd resize map <map>

Signed-off-by: Benjamin Marzinski <[email protected]>
---
 multipathd/cli_handlers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multipathd/cli_handlers.c b/multipathd/cli_handlers.c
index efc12dd..d598039 100644
--- a/multipathd/cli_handlers.c
+++ b/multipathd/cli_handlers.c
@@ -870,6 +870,7 @@ int resize_map(struct multipath *mpp, unsigned long long 
size,
        update_mpp_paths(mpp, vecs->pathvec);
        setup_map(mpp, params, PARAMS_SIZE);
        mpp->action = ACT_RESIZE;
+       mpp->force_udev_reload = 1;
        if (domap(mpp, params, 1) <= 0) {
                condlog(0, "%s: failed to resize map : %s", mpp->alias,
                        strerror(errno));
-- 
1.8.3.1

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

Reply via email to