Skip to content
Commit 23ddff37 authored by NeilBrown's avatar NeilBrown
Browse files

md: allow suspend_lo and suspend_hi to decrease as well as increase.



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>
parent 75d3da43
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