commit 79b7159f45d7d7636e4c877fa0069eff3b20d6d4
Author: Alex Hornung <[email protected]>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79b7159f45d7d7636e4c877fa0069eff3b20d6d4


-- 
DragonFly BSD source repository

Reply via email to