commit | 1d9d52416c0445019ccc1f0fddb9a227456eb61b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Oct 16 15:55:32 2009 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Oct 16 15:55:32 2009 +1100 |
tree | 1dc189d68babe4827e2a16d98fae6aeaa40792d7 | |
parent | 1442577bf6da1a31ae6555212202be9a2cec5642 [diff] |
md/raid1/raid10: add a cond_resched During 'check' of a raid1 or raid10 it is possible for the management thread to spend a lot of time running 'memcmp' on blocks from different devices, so make sure the thread has a chance to schedule. raid5d already has a cond_resched (in process_stripe). Reported-By: Lee Howard <faxguy@howardsilvan.com> Signed-off-by: NeilBrown <neilb@suse.de>