git: kernel - dm - rewrite dm_target_stripe.c to add functionality and fix bugs

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 14 10:09:30 PDT 2010


commit 1446934e80217daa2844291b1f8b82b7d7403a50
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 14 10:06:21 2010 -0700

    kernel - dm - rewrite dm_target_stripe.c to add functionality and fix bugs
    
    * The stripe code now allows up to 32 devices, instead of just 2
    * The stripe code now properly cleans up partial configurations which
      fail in the device loop.
    
    * Fix improper use of M_NOWAIT
    * Fix improper use of malloc pool in *_status functions
    * Fix improper use of namespace (atoi -> atoi64)
    * Cleanup some M_DM malloc declarations

Summary of changes:
 sys/dev/disk/dm/dm.h                 |   10 +-
 sys/dev/disk/dm/dm_dev.c             |    2 -
 sys/dev/disk/dm/dm_ioctl.c           |    1 -
 sys/dev/disk/dm/dm_pdev.c            |    2 -
 sys/dev/disk/dm/dm_table.c           |    2 -
 sys/dev/disk/dm/dm_target.c          |    2 -
 sys/dev/disk/dm/dm_target_crypt.c    |    8 +-
 sys/dev/disk/dm/dm_target_linear.c   |    8 +-
 sys/dev/disk/dm/dm_target_snapshot.c |    8 +-
 sys/dev/disk/dm/dm_target_stripe.c   |  222 +++++++++++++++++++++-------------
 10 files changed, 158 insertions(+), 107 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1446934e80217daa2844291b1f8b82b7d7403a50


-- 
DragonFly BSD source repository





More information about the Commits mailing list