commit | 9744197c3d7b329590c2be33ad7b17409bd798fe | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Sep 19 11:49:54 2008 +1000 |
committer | NeilBrown <neilb@suse.de> | Fri Sep 19 11:49:54 2008 +1000 |
tree | b82478694d768a54bad23661e31830cc48e95e0f | |
parent | 45e9c0de2e86485f8b6633fd64ab19cfbff167f6 [diff] |
md: Don't wait UNINTERRUPTIBLE for other resync to finish When two md arrays share some block device (e.g each uses different partitions on the one device), a resync of one array will wait for the resync on the other to finish. This can be a long time and as it currently waits TASK_UNINTERRUPTIBLE, the softlockup code notices and complains. So use TASK_INTERRUPTIBLE instead and make sure to flush signals before calling schedule. Signed-off-by: NeilBrown <neilb@suse.de>