[PATCH] dm store geometry
authorDarrick J. Wong <djwong@us.ibm.com>
Mon, 27 Mar 2006 09:17:54 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:59 +0000 (08:44 -0800)
commit3ac51e741a46af7a20f55e79d3e3aeaa93c6c544
treecab595a4d9691d7602616337b7862a1a3d692b97
parent1134e5ae79bab61c05657ca35a6297cf87202e35
[PATCH] dm store geometry

Allow drive geometry to be stored with a new DM_DEV_SET_GEOMETRY ioctl.
Device-mapper will now respond to HDIO_GETGEO.  If the geometry information is
not available, zero will be returned for all of the parameters.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-ioctl.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/compat_ioctl.h
include/linux/dm-ioctl.h