Lines Matching defs:fsd
345 struct g_raid_subdisk *sd, *fsd;
361 fsd = g_raid_get_subdisk(vol, G_RAID_SUBDISK_S_RESYNC);
362 if (fsd == NULL)
363 fsd = g_raid_get_subdisk(vol, G_RAID_SUBDISK_S_REBUILD);
364 if (fsd == NULL) {
365 fsd = g_raid_get_subdisk(vol, G_RAID_SUBDISK_S_STALE);
366 if (fsd != NULL) {
367 fsd->sd_rebuild_pos = 0;
368 g_raid_change_subdisk_state(fsd,
370 g_raid_write_metadata(vol->v_softc, vol, fsd, NULL);
372 fsd = g_raid_get_subdisk(vol,
374 if (fsd == NULL)
375 fsd = g_raid_get_subdisk(vol,
377 if (fsd != NULL) {
378 fsd->sd_rebuild_pos = 0;
379 g_raid_change_subdisk_state(fsd,
382 vol, fsd, NULL);
386 if (fsd == NULL) {
391 trs->trso_failed_sd = fsd;
394 fsd->sd_volume->v_name, fsd->sd_pos,
395 fsd->sd_disk ? g_raid_get_diskname(fsd->sd_disk) : "[none]",