Set geometry information for multipath maps
authorHannes Reinecke <hare@suse.de>
Fri, 18 Jun 2010 10:32:21 +0000 (12:32 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 1 Dec 2010 08:58:15 +0000 (09:58 +0100)
commit967273d71ba3b5e2aca51c629edb4ea254932588
treead8fa422271583c09e4c0cea2bb43e53da9a09f7
parente2ebb3b0459248b7f77cf5234140b88dc6160ba7
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