]> 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>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
commit052b934680d0ca7aae93247178c360354f0fed1a
tree6c915d36d70a5dcf6b22db91993b2b4a38e10d7b
parent34997c49f1a1269d0dfb70080350f6d9a5584d0b
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