set_sd_state
set_sd_state(sdno, sd_up, setstate_configuring);
set_sd_state(sd->sdno, sd_down, setstate_force);
int set_sd_state(int sdno, enum sdstate state, enum setstateflags flags);
set_sd_state(rqe->sdno, sd_crashed, setstate_force); /* subdisk is crashed */
set_sd_state(rqe->sdno, sd_stale, setstate_force); /* subdisk is stale */
set_sd_state(sd->sdno, sd_stale, setstate_force); /* make sure it's stale */
set_sd_state(plex->sdnos[sdno], sd_stale, setstate_force); /* make it stale */
set_sd_state(sd->sdno, sd_stale, setstate_force); /* make the subdisk stale */
set_sd_state(sd->sdno, sd_stale, setstate_force); /* make it stale */
set_sd_state(psd->sdno, sd_obsolete, setstate_force); /* it's obsolete now */
set_sd_state(psd->sdno, sd_stale, setstate_force); /* it's stale now */
set_sd_state(sd->sdno, sd_stale, setstate_force);
set_sd_state(sd->sdno, sd_crashed, setstate_force);
set_sd_state(sdno, sd_up, setstate_force); /* bring the sd up */
set_sd_state(sdno, sd_initialized, setstate_force); /* bring the sd up */
set_sd_state(plex->sdnos[sdno], sd_initializing, msg->force);
set_sd_state(msg->index, sd_initialized, msg->force);
set_sd_state(sd->sdno, sd_obsolete, setstate_force); /* it's not consistent now */
set_sd_state(sd->sdno, sd_stale, setstate_force); /* it's not consistent now */
set_sd_state(plex->sdnos[sdno], state, setstate_force);
status = set_sd_state(objindex, sd_up, flags); /* set state */
status = set_sd_state(objindex, sd_down, data->force);
set_sd_state(msg->index, sd_initializing, msg->force);