diff options
author | grog <grog@FreeBSD.org> | 1999-04-10 08:12:12 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-04-10 08:12:12 +0000 |
commit | 16b49ae256d6459db962b4d56af7244a20848c54 (patch) | |
tree | 6f7e130dc75d4bb8f8a2d707bd5c162dc91a9e36 /sys/dev/vinum | |
parent | a69fe8289448367e85f6e6bc4cb96d077d23f9be (diff) | |
download | FreeBSD-src-16b49ae256d6459db962b4d56af7244a20848c54.zip FreeBSD-src-16b49ae256d6459db962b4d56af7244a20848c54.tar.gz |
set_sd_state:
If a drive is down, take "empty" sds down. Previously they were
unchanged, which cause set_plex_state to take them up under some
circumstances.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumstate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumstate.c b/sys/dev/vinum/vinumstate.c index 1228078..281220e 100644 --- a/sys/dev/vinum/vinumstate.c +++ b/sys/dev/vinum/vinumstate.c @@ -413,6 +413,7 @@ update_sd_state(int sdno) case sd_up: case sd_reborn: case sd_reviving: + case sd_empty: sd->state = sd_crashed; /* lost our drive */ break; |