commit | e62e58a5ffdc98ac28d8dbd070c857620d541f99 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Jul 01 13:15:35 2009 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed Jul 01 13:15:35 2009 +1000 |
tree | 0ec3471f4e66e3a376ac8cb2da79d6123e7aa2cf | |
parent | a5c308d4d1659b1f4833b863394e3e24cdbdfc6e [diff] |
md: use interruptible wait when duration is controlled by userspace. 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: NeilBrown <neilb@suse.de>