mirror of
https://github.com/schoebel/mars
synced 2024-12-26 00:22:31 +00:00
aio: stop submit_thread earlier
This commit is contained in:
parent
ca3cda8a01
commit
d63b5e72b0
@ -911,7 +911,8 @@ static int aio_submit_thread(void *data)
|
||||
|
||||
wait_event_interruptible_timeout(
|
||||
tinfo->event,
|
||||
atomic_read(&tinfo->queued_sum) > 0,
|
||||
atomic_read(&tinfo->queued_sum) > 0 ||
|
||||
tinfo->should_terminate,
|
||||
HZ / 4);
|
||||
|
||||
mref_a = _dequeue(tinfo);
|
||||
|
Loading…
Reference in New Issue
Block a user