• NeilBrown's avatar
    md: use interruptible wait when duration is controlled by userspace. · e62e58a5
    NeilBrown authored
    User space can set various limits on an md array so that resync waits
    when it gets to a certain point, or so that I/O is blocked for a short
    while.
    When md is waiting against one of these limit, it should use an
    interruptible wait so as not to add to the load average, and so are
    not to trigger a warning if the wait goes on for too long.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    e62e58a5
md.c 177 KB