[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: DragonFly_RELEASE_5_0 kernel - Fix cluster_awrite() race
From: dillon () crater ! dragonflybsd ! org (Matthew Dillon)
Date: 2017-10-29 21:50:25
Message-ID: 20171029215025.A3FDCB1DD48B75 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit 482ea7304770ff52628dc03d9f5fc706a4b0b78c
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sat Oct 28 15:14:02 2017 -0700
kernel - Fix cluster_awrite() race
* Fix a race between cluster_awrite() and vnode destruction. We
have to finish working the cluster pbuf before disposing of the
component elements. b_vp in the cluster pbuf is held only by
the presence of the components.
* Fixes NULL pointer indirection panic associated with heavy
paging during tmpfs operations. This typically only occurs
when maxvnodes is set to a relatively low value, but it can
eventually occur in any modestly paging environment when
tmpfs is used.
Summary of changes:
sys/kern/vfs_cluster.c | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/482ea7304770ff52628dc03d9f5fc706a4b0b78c
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic