]> 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, 11 Oct 2011 00:45:58 +0000 (11:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 00:45:58 +0000 (11:45 +1100)
commit77c0512c8fc49f60cd7543e57cf790c29bfcf7c0
tree5a48d1868a8d6a5eabc23eff761166ed7891395b
parent9f7bdce3475327c11285f9ab968d262ff2f6c206
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