Set geometry information for multipath maps
authorHannes Reinecke <hare@suse.de>
Fri, 18 Jun 2010 10:32:21 +0000 (12:32 +0200)
committerHannes Reinecke <hare@suse.de>
Tue, 30 Nov 2010 07:32:28 +0000 (08:32 +0100)
commit20122c8691d8833dbef64d21957c5e1dcce12278
treead8fa422271583c09e4c0cea2bb43e53da9a09f7
parent067b1b449d657601996827eea5148736bf3b9f9f
Set geometry information for multipath maps

Some programs (most notably grub) try to get the device geometry
information via the HDIO_GETGEO ioctl. While device-mapper provides
this ioctl, it's values have to be set previously.
So we can just use the geometry information from the first path
to set this information for the multipath map.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/configure.c
libmultipath/devmapper.c
libmultipath/devmapper.h
libmultipath/discovery.c
libmultipath/structs.h