git: DragonFly_RELEASE_3_0 kernel - Fix improper unlock/relock sequence in HAMMER
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Mar 29 16:07:35 PDT 2012
commit 9defaf9a124970cba6a178f89c08e9e35f920145
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Mar 23 13:36:27 2012 -0700
kernel - Fix improper unlock/relock sequence in HAMMER
* VOP_FSYNC() can be called during a vnode inactivation or reclaim.
In this case the vnode lock absolutely cannot be released or it
can create a window of opportunity for another thread that results
in a panic.
* Fixes a NFS server crash when multiple clients are trying to
delete/create/write the same file at the same time.
Summary of changes:
sys/vfs/hammer/hammer_vnops.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9defaf9a124970cba6a178f89c08e9e35f920145
--
DragonFly BSD source repository
More information about the Commits
mailing list