DragonFly commits List (threaded) for 2010-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Add overlapping buffer test to the buffer cache
commit 7608650f2d0c2fb8e1dea0d0d868da353d31ea86
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sun Aug 15 08:20:37 2010 -0700
kernel - Add overlapping buffer test to the buffer cache
* Add a test for overlapping buffer in bgetvp().
* Add a sysctl vfs.check_buf_overlap which defaults to enabling the
check invasively. Overlapping buffer cache buffers can be deadly.
0 - disabled
1 - checked and reported
2 - checked and panic (invasive) (default)
Summary of changes:
sys/kern/vfs_bio.c | 2 +-
sys/kern/vfs_subr.c | 39 ++++++++++++++++++++++++++++++++++++++-
sys/sys/buf.h | 2 +-
3 files changed, 40 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7608650f2d0c2fb8e1dea0d0d868da353d31ea86
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]