• NeilBrown's avatar
    md: allow suspend_lo and suspend_hi to decrease as well as increase. · 23ddff37
    NeilBrown authored
    The sysfs attributes 'suspend_lo' and 'suspend_hi' describe a region
    to which read/writes are suspended so that the under lying data can be
    manipulated without user-space noticing.
    Currently the window they describe can only move forwards along the
    device.  However this is an unnecessary restriction which will cause
    problems with planned developments.
    So relax this restriction and allow these endpoints to move
    arbitrarily.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    23ddff37
md.c 191 KB