summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-04-10 08:12:12 +0000
committergrog <grog@FreeBSD.org>1999-04-10 08:12:12 +0000
commit16b49ae256d6459db962b4d56af7244a20848c54 (patch)
tree6f7e130dc75d4bb8f8a2d707bd5c162dc91a9e36 /sys/dev/vinum
parenta69fe8289448367e85f6e6bc4cb96d077d23f9be (diff)
downloadFreeBSD-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.c1
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;
OpenPOWER on IntegriCloud