]> 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>
Thu, 18 Aug 2011 01:28:50 +0000 (11:28 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Aug 2011 01:30:05 +0000 (11:30 +1000)
commitea71d2114fa246455186ccabeed159be5866ef42
treea867f39210f79f75c1d3a28ed288d8bb8d664efd
parent371b034793621744ff8298ebfbc163fc2241e534
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