]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Introduce the concept of a singleton table which contains exactly one target.
authorAlasdair G Kergon <agk@redhat.com>
Thu, 4 Aug 2011 00:24:36 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Aug 2011 00:24:36 +0000 (10:24 +1000)
commit98f9a697d4e690744235c255b14502390591f3d9
tree1ed95bbf722b110d616318b5e273322195a53ae7
parent457a41ca053a072b566a08f088ad200e4251b2d6
Introduce the concept of a singleton table which contains exactly one target.

If a target type sets the DM_TARGET_SINGLETON feature bit device-mapper
will ensure that any table that includes that target contains no others.

The thin provisioning pool target uses this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c
include/linux/device-mapper.h