[dm-devel] [PATCH 57/78] multipath: enable sync support

Hannes Reinecke hare at suse.de
Mon Mar 16 12:36:44 UTC 2015


multipath didn't enable 'sync support' for device-mapper,
causing device-mapper to create the device nodes internally
rather than relying on udev here.

Signed-off-by: Hannes Reinecke <hare at suse.de>
---
 multipath/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multipath/main.c b/multipath/main.c
index ebca4dc..bee9a65 100644
--- a/multipath/main.c
+++ b/multipath/main.c
@@ -582,6 +582,7 @@ main (int argc, char *argv[])
 	if (dm_prereq())
 		exit(1);
 	dm_drv_version(conf->version, TGT_MPATH);
+	udev_set_sync_support(1);
 
 	if (optind < argc) {
 		conf->dev = MALLOC(FILE_NAME_SIZE);
-- 
1.8.4.5




More information about the dm-devel mailing list