svn commit: r251921 - stable/9/sys/geom/multipath
Alexander Motin
mav at FreeBSD.org
Tue Jun 18 09:31:07 UTC 2013
Author: mav
Date: Tue Jun 18 09:31:06 2013
New Revision: 251921
URL: http://svnweb.freebsd.org/changeset/base/251921
Log:
MFC r248696:
Make GEOM MULTIPATH to report unmapped bio support if underling path report
it. GEOM MULTIPATH itself never touches the data and so transparent.
Modified:
stable/9/sys/geom/multipath/g_multipath.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/geom/multipath/g_multipath.c
==============================================================================
--- stable/9/sys/geom/multipath/g_multipath.c Tue Jun 18 09:29:30 2013 (r251920)
+++ stable/9/sys/geom/multipath/g_multipath.c Tue Jun 18 09:31:06 2013 (r251921)
@@ -522,6 +522,8 @@ g_multipath_add_disk(struct g_geom *gp,
sc->sc_pp->stripesize = pp->stripesize;
sc->sc_pp->stripeoffset = pp->stripeoffset;
}
+ if (sc->sc_pp != NULL)
+ sc->sc_pp->flags |= pp->flags & G_PF_ACCEPT_UNMAPPED;
mtx_lock(&sc->sc_mtx);
cp->index = 0;
sc->sc_ndisks++;
More information about the svn-src-stable-9
mailing list