- In getnewbuf() unlock the bq lock prior to sleeping when we're out of

buffers.

Submitted by:	tegge
This commit is contained in:
jeff 2003-02-10 06:02:51 +00:00
parent d28c3fda3c
commit 2de830f8f6

View File

@ -1965,6 +1965,7 @@ getnewbuf(int slpflag, int slptimeo, int size, int maxsize)
int flags;
char *waitmsg;
mtx_unlock(&bqlock);
if (defrag) {
flags = VFS_BIO_NEED_BUFSPACE;
waitmsg = "nbufkv";