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

buffers.

Submitted by:	tegge
This commit is contained in:
Jeff Roberson 2003-02-10 06:02:51 +00:00
parent 42f979319e
commit 7137d635ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110625

View file

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