git: DragonFly_RELEASE_2_8 device mapper - implement dumping

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5ce955316546b3a8b09bb7573648567368548b04 Author: Alex Hornung <ahornung@gmail.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(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5ce955316546b3a8b09bb7573648567368548b04 -- DragonFly BSD source repository
文章代碼(AID): #1CvoKjhS (DFBSD_commit)