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

git: dm_target_crypt - use mpipe, add module magic


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Nov 2010 12:55:40 -0800 (PST)

commit ba65ac128d51ebcd3d09242c254e1cd5e38c90d6
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Nov 24 19:55:04 2010 +0000

    dm_target_crypt - use mpipe, add module magic
    
    * Switch the kmallocs in the I/O path to using mpipe with a bare minimum
      of two preallocated elements, for each read and write. This finally
      allows for an encrypted swap without any issues with memory pressure.
      It might also improve performance, but it is not the aim of the
      commit.
    
    * Add some module magic to dm and make use of it in dm_target_crypt.
    
    * (temporarily) remove the old module magic.

Summary of changes:
 sys/dev/disk/dm/dm.h                 |   17 ++--
 sys/dev/disk/dm/dm_target.c          |   18 +----
 sys/dev/disk/dm/dm_target_crypt.c    |  170 +++++++++++++++++++--------------
 sys/dev/disk/dm/dm_target_error.c    |   58 ------------
 sys/dev/disk/dm/dm_target_mirror.c   |   58 ------------
 sys/dev/disk/dm/dm_target_snapshot.c |   84 -----------------
 sys/dev/disk/dm/dm_target_stripe.c   |   56 -----------
 sys/dev/disk/dm/dm_target_zero.c     |   58 ------------
 8 files changed, 107 insertions(+), 412 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ba65ac128d51ebcd3d09242c254e1cd5e38c90d6


-- 
DragonFly BSD source repository



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