mirror of
https://github.com/schoebel/mars
synced 2025-03-07 22:07:59 +00:00
copy: yield CPU more often
This commit is contained in:
parent
31788c0acf
commit
8e1e2f81a3
@ -1060,6 +1060,8 @@ static int _copy_thread(void *data)
|
||||
int progress = 0;
|
||||
loff_t check_hint;
|
||||
|
||||
brick_yield();
|
||||
|
||||
old_start = brick->stable_copy_start;
|
||||
old_end = brick->stable_copy_end;
|
||||
if (old_end > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user