ec58dfa358
Add 0104-RHBZ-737989-systemd-unit-fix.patch * systemd will only start multipathd if /etc/multipath.conf exists Add 0105-fix-oom-adj.patch * first try setting oom_score_adj
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
---
|
|
multipath/main.c | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
Index: multipath-tools/multipath/main.c
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath/main.c
|
|
+++ multipath-tools/multipath/main.c
|
|
@@ -100,6 +100,7 @@ usage (char * progname)
|
|
" -d dry run, do not create or update devmaps\n" \
|
|
" -r force devmap reload\n" \
|
|
" -p policy failover|multibus|group_by_serial|group_by_prio\n" \
|
|
+ " -n nosync. disable synchronous device creation with udev\n" \
|
|
" -b fil bindings file location\n" \
|
|
" -p pol force all maps to specified path grouping policy :\n" \
|
|
" . failover one path per priority group\n" \
|
|
@@ -383,7 +384,7 @@ main (int argc, char *argv[])
|
|
condlog(0, "multipath tools need sysfs mounted");
|
|
exit(1);
|
|
}
|
|
- while ((arg = getopt(argc, argv, ":dchl::FfM:v:p:b:Brqu")) != EOF ) {
|
|
+ while ((arg = getopt(argc, argv, ":dchl::FfM:v:p:b:Brqun")) != EOF ) {
|
|
switch(arg) {
|
|
case 1: printf("optarg : %s\n",optarg);
|
|
break;
|
|
@@ -442,6 +443,9 @@ main (int argc, char *argv[])
|
|
case 'u':
|
|
conf->force_udev_rules = 1;
|
|
break;
|
|
+ case 'n':
|
|
+ dm_udev_set_sync_support(0);
|
|
+ break;
|
|
case 'h':
|
|
usage(argv[0]);
|
|
case ':':
|