DragonFly commits List (threaded) for 2009-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.1.1.462.g19168 DragonFly_RELEASE_2_2 sys/vfs/hammer hammer_cursor.c
commit 19168d41f0ee9eace4a412c47e3e9b412746c064
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sun Jan 25 13:11:14 2009 -0800
HAMMER VFS - clean out cached data_buffer on unlock cursor to avoid deadlock
Clean out any cached cursor->data_buffer when unlocking a cursor. The
underlying buffer cache buffer could become stale and if we do not release
our hammer_buffer reference on it other threads may deadlock trying to
getblk() the buffer cache buffer in order to invalidate it.
Summary of changes:
sys/vfs/hammer/hammer_cursor.c | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19168d41f0ee9eace4a412c47e3e9b412746c064
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]