DragonFly commits List (threaded) for 2011-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix panic when the ccd device is used with swapcache
commit 1384d50bccd94972e3cd368c8287372bfbaae02c
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Tue Jul 26 20:37:54 2011 -0700
kernel - Fix panic when the ccd device is used with swapcache
* The CCD device does not populate bp->b_xio.xio_npages or xio_pages[].
A quirk in the xio test in vn_cache_strategy() could result in a null
pointer dereference panic.
* Fix the test to avoid the panic. Note that swapcache does not currently
work well with the CCD device for stripe-crossing I/Os due to the way
CCD breaks the I/O up. It should no longer panic, though.
Summary of changes:
sys/kern/vfs_bio.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1384d50bccd94972e3cd368c8287372bfbaae02c
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]