]> 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, 1 Nov 2011 00:15:33 +0000 (11:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 00:15:33 +0000 (11:15 +1100)
commit64566b9876f7e1f0bbdbc89b004289dc30ff334b
tree2dc67f0593e1cb1f3dc07ff9883a03fe9edb4b2a
parent8007ae1f19ce0ca5d67b7bdda6c1fb54805bb397
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