]> git.kernelconcepts.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, 2 Aug 2011 00:25:28 +0000 (10:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 00:25:28 +0000 (10:25 +1000)
commitb1e191495b38e39d702e3fac8c7b1b4ab8aaf9c0
treec26e9f12a4ab1e7e3e3e9ebce635ef225b965ddd
parent9e734025c77cbb5e9a3c8b1f19667bfd36cb25fa
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 will use this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c
include/linux/device-mapper.h