Skip to content
Commit 9744197c authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
parent 45e9c0de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment