Lines Matching defs:path
32 /* This is a GEOM module for handling path selection for multi-path
56 FEATURE(geom_fox, "GEOM FOX redundant path mitigation support");
64 struct g_consumer *path;
71 * This function is called whenever we need to select a new path.
90 * First, close the old path entirely.
92 printf("Closing old path (%s) on fox (%s)\n",
107 printf("Drop old path (%s) on fox (%s)\n",
125 printf("Got e-bit on old path (%s) on fox (%s)\n",
134 printf("Open new path (%s) on fox (%s)\n",
141 printf("Open new path (%s) on fox (%s) failed, reselect.\n",
146 printf("Open new path (%s) on fox (%s) succeeded\n",
149 sc->path = cp1;
156 g_io_request(bp, sc->path);
172 printf("Removing path (%s) from fox (%s)\n",
175 if (cp == sc->path) {
177 sc->path = NULL;
214 if (bp->bio_from != sc->path) {
215 g_io_request(bp, sc->path);
219 sc->opath = sc->path;
220 sc->path = NULL;
258 if (sc->path == NULL || !TAILQ_EMPTY(&sc->queue)) {
274 g_io_request(bp2, sc->path);
324 if (sc->path == NULL)
326 if (sc->path == NULL)
329 error = g_access(sc->path, dr, dw, de);
385 * First we need to see if this a new path for an existing fox.
399 * path with an exclusive count of one.
401 printf("Adding path (%s) to fox (%s)\n",
414 "WARNING: New path (%s) to fox(%s) not added: %s\n%s",
426 sc->path = cp;