[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/45829 CVS commit: [netbsd-6] src/sys/dev
The following reply was made to PR kern/45829; it has been noted by GNATS.
From: "Jeff Rizzo" <riz%netbsd.org@localhost>
Subject: PR/45829 CVS commit: [netbsd-6] src/sys/dev
Date: Fri, 6 Apr 2012 17:44:21 +0000
Module Name: src
Committed By: riz
Date: Fri Apr 6 17:44:21 UTC 2012
src/sys/dev [netbsd-6]: vnd.c vndvar.h
Pull up following revision(s) (requested by hannken in ticket #162):
sys/dev/vnd.c: revision 1.220
sys/dev/vndvar.h: revision 1.32
When backed by a sparse file limit the number of pending requests.
Should fix PR #45829: "writing to vnd on sparse file blocks on pager_map"
where the pager_map gets exhausted by requests enqueued on a vnd
device and the device worker thread blocks on putpages() needing the map.
While here always sync the underlying vnode before calling biodone().
XXX: vnd should be converted to mutex/condvar.
To generate a diff of this commit:
cvs rdiff -u -r1.219 -r22.214.171.124 src/sys/dev/vnd.c
cvs rdiff -u -r1.31 -r126.96.36.199 src/sys/dev/vndvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |