git: hammer2 - stabilization - Fix bugs found by blogbench
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Sep 1 00:30:56 PDT 2015
commit 815e1c13cd185a8d3507c7d200b6f53a78b6a364
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Sep 1 00:28:18 2015 -0700
hammer2 - stabilization - Fix bugs found by blogbench
* Make sure that any inode without an associated vnode gets put on
the sideq if it is dirtied, otherwise it might not ever get flushed.
* Fix a SMP race in hammer2_xop_start_except(). For asynchronous completions,
the xop can become invalid the instant we release our spinlock if another
thread manages to process, retire, and free it.
Summary of changes:
sys/vfs/hammer2/hammer2_inode.c | 28 +++++++++++++++++++++++++++-
sys/vfs/hammer2/hammer2_strategy.c | 1 +
sys/vfs/hammer2/hammer2_thread.c | 31 +++++++++----------------------
3 files changed, 37 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/815e1c13cd185a8d3507c7d200b6f53a78b6a364
--
DragonFly BSD source repository
More information about the Commits
mailing list