]> 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>
Wed, 3 Aug 2011 00:43:44 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Aug 2011 00:43:44 +0000 (10:43 +1000)
commit8f4c0c6480bad93655310d65aa8c87a2d983668c
tree840dcda9e254bc32975bdcb08287088eb5c5d5d8
parentdbeb685746d9a1ca9265bf8f5ca3d08a8110c90d
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