]> 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>
Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Aug 2011 00:51:09 +0000 (10:51 +1000)
commit775ff852242262ef7d0d09d3fe0b3cf3a02e63a5
tree048d2b1c5fbe19f05dbaaa17430d607071b24c7b
parentf33d51bc69d20e7215d618dea89f104e839354d2
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 will use this.

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