git: kernel - dm - Reorganize the crypt code and implement B_HAS

看板DFBSD_commit作者時間15年前 (2010/08/15 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f6221ad16ba48c758e3a4b1e90e6c92e8e9b3162 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Aug 14 17:51:42 2010 -0700 kernel - dm - Reorganize the crypt code and implement B_HASBOGUS * Implement B_HASBOGUS data copying for read decryption. When a buffer contains bogus pages we may or may not be able to safely decrypt data in-place, add some code to deal with it. * Reorganize the crypt code. Separate the read and write paths and organize the procedures in the same order as the execution stages. Also move some of the buffer manipulation around a little to make it more clear. Submitted-by: alexh (B_HASBOGUS handling) Summary of changes: sys/dev/disk/dm/device-mapper.c | 3 + sys/dev/disk/dm/dm_target_crypt.c | 673 +++++++++++++++++++++++------------- sys/dev/disk/dm/dm_target_stripe.c | 2 + 3 files changed, 430 insertions(+), 248 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6221ad16ba48c758e3a4b1e90e6c92e8e9b3162 -- DragonFly BSD source repository
文章代碼(AID): #1CPpnHmQ (DFBSD_commit)