• NeilBrown's avatar
    md: Don't wait UNINTERRUPTIBLE for other resync to finish · 9744197c
    NeilBrown authored
    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>
    9744197c
md.c 162 KB