- In getnewbuf() unlock the bq lock prior to sleeping when we're out of
buffers. Submitted by: tegge
This commit is contained in:
parent
d28c3fda3c
commit
2de830f8f6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user