mirror of
https://github.com/schoebel/mars
synced 2024-12-11 09:15:48 +00:00
bio: speedup submit_thread termination
This commit is contained in:
parent
b17944a512
commit
b7a770c91f
@ -698,7 +698,7 @@ int bio_submit_thread(void *data)
|
||||
#endif
|
||||
wait_event_interruptible_timeout(
|
||||
brick->submit_event,
|
||||
brick->submitted,
|
||||
brick->submitted || brick_thread_should_stop(),
|
||||
HZ / 2);
|
||||
|
||||
brick->submitted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user