aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2008-03-04 14:29:32 -0800
committerLinus Torvalds <[email protected]>2008-03-04 16:35:18 -0800
commit25156198235325805cd7295ed694509fd6e3a29e (patch)
tree0f1b8ae0f6e4da99afa2ab5e59c866becb1dc136 /net/unix/sysctl_net_unix.c
parentd0fae18f1b53a1d39135a968792be034bdf7ff26 (diff)
md: make sure a reshape is started when device switches to read-write
A resync/reshape/recovery thread will refuse to progress when the array is marked read-only. So whenever it mark it not read-only, it is important to wake up thread resync thread. There is one place we didn't do this. The problem manifests if the start_ro module parameters is set, and a raid5 array that is in the middle of a reshape (restripe) is started. The array will initially be semi-read-only (meaning it acts like it is readonly until the first write). So the reshape will not proceed. On the first write, the array will become read-write, but the reshape will not be started, and there is no event which will ever restart that thread. Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions