Treat async buffer writes from the gjournal switcher thread the same as
from syncer. We shall not sleep on running buffer space when suspending. Reproduced and tested by: pho PR: kern/154228 MFC after: 1 week
This commit is contained in:
parent
60a507a514
commit
0ea2e01412
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217880
@ -3033,6 +3033,7 @@ g_journal_switcher(void *arg)
|
||||
int error;
|
||||
|
||||
mp = arg;
|
||||
curthread->td_pflags |= TDP_NORUNNINGBUF;
|
||||
for (;;) {
|
||||
g_journal_switcher_wokenup = 0;
|
||||
error = tsleep(&g_journal_switcher_state, PRIBIO, "jsw:wait",
|
||||
|
Loading…
Reference in New Issue
Block a user