]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When a GEOM (/dev-)device is closed and we find that I/O requests are
authorPoul-Henning Kamp <phk@FreeBSD.org>
Fri, 9 May 2003 21:25:28 +0000 (21:25 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Fri, 9 May 2003 21:25:28 +0000 (21:25 +0000)
commit4da6e74ce43a410cd484cb63aa8b39597210976d
tree736c96da992644bfe28faf2d1a98b0136a07e2d4
parentbd16ce64faeba86942ef80fbe23f038071d30b4e
When a GEOM (/dev-)device is closed and we find that I/O requests are
still outstanding, give them a chance to complete.

If after 10 seconds we still find outstanding I/O requests, complete
the close with a console warning that the system is likely to panic
later on.

This is a workaround for umount -f not quite doing the right thing.

Approved by:    re/scottl
sys/geom/geom_dev.c