summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ciss/ciss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index ae2f61d..3b33ab9 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -3477,6 +3477,10 @@ ciss_notify_logical(struct ciss_softc *sc, struct ciss_notify *cn)
ciss_printf(sc, "logical drive %d (%s) media exchanged, ready to go online\n",
cn->data.logical_status.logical_drive, ld->cl_name);
ciss_accept_media(sc, ld);
+
+ ld->cl_update = 1;
+ ld->cl_status = ciss_decode_ldrive_status(cn->data.logical_status.new_state);
+ ciss_notify_rescan_logical(sc);
break;
case 2:
OpenPOWER on IntegriCloud