Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/sys/dev

Module Name:    src
Committed By:   riz
Date:           Fri Apr  6 17:44:21 UTC 2012

Modified Files:
        src/sys/dev [netbsd-6]: vnd.c vndvar.h

Log Message:
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 -r1.219.8.1 src/sys/dev/vnd.c
cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/dev/vndvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index