DragonFly commits List (threaded) for 2011-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: dm_target_crypt - use per-instance mpipes, KTR
commit d536b4086d659f000514219f614113f8dd2b9604
Author: Alex Hornung <ahornung@gmail.com>
Date: Wed Jul 13 21:41:43 2011 +0100
dm_target_crypt - use per-instance mpipes, KTR
* Add KTR support (KTR_DMCRYPT) to monitor the read and write strategy
paths.
* Make the mpipes for reads and writes per-instance instead of for all
targets. This solves the issue where two instances are interdependent
and one starves the other, which will cause a deadlock. This way each
instance is guaranteed to have some buffers.
* Change the maximum size of the mpipes from 0.5% of physical memory to
0.2%, as this limit is now per-instance and an average of 2 or 3
crypt targets sounds reasonable.
Summary of changes:
sys/conf/options | 1 +
sys/config/LINT | 1 +
sys/config/LINT64 | 1 +
sys/dev/disk/dm/targets/crypt/Makefile | 2 +-
sys/dev/disk/dm/targets/crypt/dm_target_crypt.c | 100 ++++++++++++++++++-----
5 files changed, 82 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d536b4086d659f000514219f614113f8dd2b9604
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]