DragonFly commits List (threaded) for 2010-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - dm - Reorganize the crypt code and implement B_HASBOGUS
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]