DragonFly commits List (threaded) for 2010-10
git: DragonFly_RELEASE_2_8 device mapper - implement dumping
Author: Alex Hornung <email@example.com>
Date: Thu Oct 21 07:47:46 2010 +0100
device mapper - implement dumping
* Implement dmdump and dump routines for the three main targets (linear,
stripe and crypt).
* The top-level dmpdump will call all the required dump() methods in the
targets just as it does with strategy() calls. The lower level
target-specific dump routines will then redirect (after processing,
etc) these requests to the underlying device's dump routines.
* This should provide quite reliable dumping even through device mapper,
although it is more error-prone than the equivalent dumping on normal
disks as there's a lot more going on behind the scenes.
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 85 ++++++++++++++++
sys/dev/disk/dm/dm.h | 9 ++-
sys/dev/disk/dm/dm_pdev.c | 21 ++++
sys/dev/disk/dm/dm_target.c | 3 +
sys/dev/disk/dm/dm_target_crypt.c | 191 +++++++++++++++++++++++++++++++++++-
sys/dev/disk/dm/dm_target_linear.c | 17 +++
sys/dev/disk/dm/dm_target_stripe.c | 78 +++++++++++++++
7 files changed, 401 insertions(+), 3 deletions(-)
DragonFly BSD source repository