Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 09:31:07 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r251921 - stable/9/sys/geom/multipath
Message-ID:  <201306180931.r5I9V7iM086348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306180931.r5I9V7iM086348>