git: dm_target_crypt - use mpipe, add module magic

看板DFBSD_commit作者時間15年前 (2010/11/25 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CxNqKXq (DFBSD_commit)