]> git.hungrycats.org Git - linux/commit
[PATCH] dm: v4 ioctl interface
authorAndrew Morton <akpm@osdl.org>
Fri, 18 Jul 2003 02:27:54 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 18 Jul 2003 02:27:54 +0000 (19:27 -0700)
commit77d7ccc836afdef54abf9117be587a15ce00be57
tree2b4af315f90b6bf163843e212d7b6d3a7d75e931
parentaa6d85aa9f161b95d002db247a6f319641928d40
[PATCH] dm: v4 ioctl interface

From: Joe Thornber <thornber@sistina.com>

v4 of the ioctl interface.  Note there never was a v2 or a v3 except in an
unofficial EVMS way.

This works correctly with the 64-bit dev_t patches in -mm kernels.

There is now a config option to allow the user to select v1 or v4, it
defaults to v1.  dm-ioctl.[hc] just #includes dm-ioctl-v[14].[hc] depending
on the config option.

If you want to use v4 you will have to update your tools
(libdevmapper/lvm).  The latest tools at the time of writing are:

dmsetup + libdevmapper + replacement kernel patches for 2.4.20 & 2.4.21:

  ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-testing-new-version4-interface.tgz

Updated LVM2 tools to work with the above:

  ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-testing.tgz
drivers/md/Kconfig
drivers/md/dm-ioctl-v1.c [new file with mode: 0644]
drivers/md/dm-ioctl-v4.c [new file with mode: 0644]
drivers/md/dm-ioctl.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/dm-ioctl-v1.h [new file with mode: 0644]
include/linux/dm-ioctl-v4.h [new file with mode: 0644]
include/linux/dm-ioctl.h