diff options
author | NeilBrown <neilb@suse.de> | 2013-08-08 09:20:32 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-27 16:05:43 +1000 |
commit | 275c51c4e34ed776d40a99dd97c1deee50303b07 (patch) | |
tree | 1ca30249554d361036b4aee4edb92bc2aaffe050 /lib/raid6 | |
parent | 60559da4d8c3259ea41a14ca4cfcd83022bff6bd (diff) | |
download | linux-275c51c4e34ed776d40a99dd97c1deee50303b07.tar.bz2 |
md: fix safe_mode buglet.
Whe we set the safe_mode_timeout to a smaller value we trigger a timeout
immediately - otherwise the small value might not be honoured.
However if the previous timeout was 0 meaning "no timeout", we didn't.
This would mean that no timeout happens until the next write completes,
which could be a long time.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions