setstate_force
set_plex_state(plex->plexno, plex_faulty, setstate_force); /* need to reinitialize */
set_sd_state(sd->sdno, sd_down, setstate_force);
set_sd_state(rqe->sdno, sd_crashed, setstate_force); /* subdisk is crashed */
set_sd_state(rqe->sdno, sd_stale, setstate_force); /* subdisk is stale */
setstate_force);
set_drive_state(drive->driveno, drive_down, setstate_force);
set_drive_state(drive->driveno, drive_up, setstate_force); /* our drive is accessible */
set_drive_state(driveno, drive_down, setstate_force); /* tell it what's what */
set_drive_state(drive->driveno, drive_down, setstate_force);
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 */
setstate_force | setstate_configuring);
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 */
if (!(flags & setstate_force)
||(flags & setstate_force)) /* or we forced it */
if (flags & setstate_force) /* forcing it, */
&& (flags & setstate_force)))
if (flags & setstate_force) /* insist, */
if ((flags & setstate_force) == 0) /* no force? What's this? */
if (flags & setstate_force)
&& (!(flags & setstate_force)))
if ((flags & setstate_force) == 0)
||((flags & setstate_force) != 0)) { /* or we're forcing */
&&(!(flags & setstate_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);
flags = setstate_force; /* yes */