diff options
author | christophe.varoqui@free.fr <christophe.varoqui@free.fr> | 2004-01-22 00:16:28 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:17 -0700 |
commit | 069bd530124afe40453a5530b8bfa17b1b39989a (patch) | |
tree | 92bc07f32f96a274135063b7fb872d1f2c0ed496 /extras/multipath | |
parent | f10fec8197d9cc794f7f87cf9b14daaf414974d4 (diff) |
[PATCH] udev-013/extras/multipath update
incremental to 0.0.13,
* update the DM target synthax to the 2.6.0-udm5 style
* update the changelog and the doc to reflect minimal requirements
Diffstat (limited to 'extras/multipath')
-rw-r--r-- | extras/multipath/ChangeLog | 2 | ||||
-rw-r--r-- | extras/multipath/README | 4 | ||||
-rw-r--r-- | extras/multipath/main.c | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/extras/multipath/ChangeLog b/extras/multipath/ChangeLog index a780865d3e..bb2f6baf89 100644 --- a/extras/multipath/ChangeLog +++ b/extras/multipath/ChangeLog @@ -1,3 +1,5 @@ +2004-01-19 multipath-013 + * update the DM target synthax to the 2.6.0-udm5 style 2003-12-29 multipath-012 * check hotplug event refers to a block device; if not exit early * refresh doc diff --git a/extras/multipath/README b/extras/multipath/README index 951c2788bc..417a0d38e4 100644 --- a/extras/multipath/README +++ b/extras/multipath/README @@ -4,8 +4,10 @@ Dependancies : o libdevmapper : comes with device-mapper-XXXX.tar.gz See www.sistina.com This lib has been dropped in the multipath tree -o libsysfs : comes with sysutils +o libsysfs : comes with sysutils or udev See ftp.kernel.org/pub/linux/utils/kernel/hotplug/ +o Linux kernel 2.6.0 with udm5 patchset + http://people.sistina.com/~thornber/dm/ How it works : ============== diff --git a/extras/multipath/main.c b/extras/multipath/main.c index a8e29e8ba6..e18e049128 100644 --- a/extras/multipath/main.c +++ b/extras/multipath/main.c @@ -665,7 +665,7 @@ setup_map(struct env * conf, struct path * all_paths, if (all_paths[PINDEX(index,0)].iopolicy == MULTIBUS && !conf->forcedfailover ) { - params_p += sprintf(params_p, " %i %s %i %i", + params_p += sprintf(params_p, " 1 %i %s %i %i", dm_pg_prio, dm_ps_name, np, dm_ps_nr_args); for (i=0; i<=mp[index].npaths; i++) { @@ -678,6 +678,7 @@ setup_map(struct env * conf, struct path * all_paths, if (all_paths[PINDEX(index,0)].iopolicy == FAILOVER || conf->forcedfailover) { + params_p += sprintf(params_p, " %i", mp[index].npaths + 1); for (i=0; i<=mp[index].npaths; i++) { if (0 != all_paths[PINDEX(index,i)].sg_id.scsi_type) continue; |