Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/multipath/g_multipath.c
Show First 20 Lines • Show All 1,524 Lines • ▼ Show 20 Lines | sbuf_printf(sb, "%s<Mode>Active/%s</Mode>\n", indent, | ||||
sc->sc_active_active == 2 ? "Read" : | sc->sc_active_active == 2 ? "Read" : | ||||
sc->sc_active_active == 1 ? "Active" : "Passive"); | sc->sc_active_active == 1 ? "Active" : "Passive"); | ||||
sbuf_printf(sb, "%s<Type>%s</Type>\n", indent, | sbuf_printf(sb, "%s<Type>%s</Type>\n", indent, | ||||
sc->sc_uuid[0] == 0 ? "MANUAL" : "AUTOMATIC"); | sc->sc_uuid[0] == 0 ? "MANUAL" : "AUTOMATIC"); | ||||
} | } | ||||
} | } | ||||
DECLARE_GEOM_CLASS(g_multipath_class, g_multipath); | DECLARE_GEOM_CLASS(g_multipath_class, g_multipath); | ||||
MODULE_VERSION(geom_multipath, 0); |