Source-Changes archive

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

CVS commit: src/sys/dev



Module Name:    src
Committed By:   hannken
Date:           Mon Mar 26 16:28:08 UTC 2012

Modified Files:
        src/sys/dev: vnd.c vndvar.h

Log Message:
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.220 src/sys/dev/vnd.c
cvs rdiff -u -r1.31 -r1.32 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