DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dm - add remove_all, refactor


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Dec 2010 15:07:07 -0800 (PST)

commit 9fada28acfffd04235bc0396c7244d25df88b68c
Author: Alex Hornung <ahornung@gmail.com>
Date:   Mon Dec 13 18:17:08 2010 +0000

    dm - add remove_all, refactor
    
    * Refactor the dm dev creation and removal methods as to avoid
      duplication and, as a bonus, do things properly.
    
    * Rename foo_destroy to foo_uninit, because that's what they really are,
      uninit functions.
    
    * Add an experimental 'remove_all' method
    
    * Move atoi64 into device-mapper so that the striped target works
      without loading the linear target.

Summary of changes:
 sys/dev/disk/dm/device-mapper.c                   |   66 +++-----
 sys/dev/disk/dm/dm.h                              |   20 ++-
 sys/dev/disk/dm/dm_dev.c                          |  192 ++++++++++++++++-----
 sys/dev/disk/dm/dm_ioctl.c                        |  104 ++++-------
 sys/dev/disk/dm/dm_pdev.c                         |   66 ++++----
 sys/dev/disk/dm/dm_target.c                       |   52 +++---
 sys/dev/disk/dm/targets/linear/dm_target_linear.c |   19 --
 7 files changed, 281 insertions(+), 238 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9fada28acfffd04235bc0396c7244d25df88b68c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]