DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: hammer2 hammer2 - Implement depth limit for stack recursion, embedded data fixes
commit 1c9f601ee43990dde3bb308d425efa117df69bdf
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Mar 22 16:52:11 2012 -0700
hammer2 - Implement depth limit for stack recursion, embedded data fixes
* Implement a procedure call depth limit in hammer2_chain_flush().
Dirty elements that are too deep are placed on a deferral list and
then executed at the top-level. Worst case stack depth is reduced 40:1.
* Fix a bug when transitioning from embedded data to indirect data.
Summary of changes:
sys/vfs/hammer2/hammer2.h | 10 +-
sys/vfs/hammer2/hammer2_chain.c | 293 ++++++++++++++++++++++++++-----------
sys/vfs/hammer2/hammer2_vfsops.c | 11 ++-
sys/vfs/hammer2/hammer2_vnops.c | 35 ++++-
4 files changed, 251 insertions(+), 98 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1c9f601ee43990dde3bb308d425efa117df69bdf
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]