Reassign existing device-mapper maps
authorHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 12:02:00 +0000 (14:02 +0200)
committerHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 12:07:52 +0000 (14:07 +0200)
commit5dac4db2c1321f385106d231095cc02735da90a9
tree80faa2d72355911c0300afa10458c41df857632b
parenta87a2aa4d057e29b4b850b1738b00534f883fdf3
Reassign existing device-mapper maps

When a multipath device is created other maps might already be
in place pointing to the same block device. To ensure uninterrupted
access these maps should be reassigned to point to the
multipath devices instead.
This patch also adds a configuration variable 'reassign_maps'
to toggle this behaviour.

Signed-off-by: Hannes Reinecke <hare@suse.de>
14 files changed:
libmultipath/config.c
libmultipath/config.h
libmultipath/defaults.h
libmultipath/devmapper.c
libmultipath/devmapper.h
libmultipath/dict.c
libmultipath/sysfs.c
libmultipath/sysfs.h
multipath/multipath.conf.5
multipathd/cli.c
multipathd/cli.h
multipathd/cli_handlers.c
multipathd/cli_handlers.h
multipathd/main.c