]> 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 23:13:34 +0000 (09:13 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Aug 2011 23:17:57 +0000 (09:17 +1000)
commit2eaa6efd38716bf01dfba4536fe47ce0984a3db2
tree4eeee4d89db2714a30d620c3d82928c604bac671
parent962ac86ff1103bd4a30bc5d0fdf5f25bee2e6e70
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