mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
- In getnewbuf() unlock the bq lock prior to sleeping when we're out of
buffers. Submitted by: tegge
This commit is contained in:
parent
42f979319e
commit
7137d635ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110625
@ -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