Date: Mon, 18 Aug 2014 16:05:54 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Sergey Kandaurov <pluknet@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Scott Long <scottl@freebsd.org> Subject: Re: svn commit: r270149 - head/sys/geom Message-ID: <20140818160554.121e16e7@kan> In-Reply-To: <CAE-mSOKjPSuNPUKMjnzL8sfu7aSoW30qG1bVRawp0vPchNYCoA@mail.gmail.com> References: <201408181927.s7IJRm9P048886@svn.freebsd.org> <CAE-mSOKjPSuNPUKMjnzL8sfu7aSoW30qG1bVRawp0vPchNYCoA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/wuk0Ge=9Fkog6ad5NJY+K_r Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 18 Aug 2014 23:51:32 +0400 Sergey Kandaurov <pluknet@freebsd.org> wrote: > On 18 August 2014 23:27, Scott Long <scottl@freebsd.org> wrote: > > Author: scottl > > Date: Mon Aug 18 19:27:47 2014 > > New Revision: 270149 > > URL: http://svnweb.freebsd.org/changeset/base/270149 > > > > Log: > > Deal explicitly with possible failures of make_dev_alias_p() in > > GEOM. > > > > Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> > > MFC after: 3 days > > > > Modified: > > head/sys/geom/geom_dev.c > > > > Modified: head/sys/geom/geom_dev.c > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/sys/geom/geom_dev.c Mon Aug 18 18:07:28 2014 > > (r270148) +++ head/sys/geom/geom_dev.c Mon Aug 18 19:27:47 > > 2014 (r270149) > [...] > > @@ -263,6 +264,7 @@ g_dev_taste(struct g_class *mp, struct g > > if (adev !=3D NULL) { > > adev->si_iosize_max =3D MAXPHYS; > > adev->si_drv2 =3D cp; > > + adev->si_flags |=3D SI_UNMAPPED; > > } > > > > g_dev_attrchanged(cp, "GEOM::physpath"); > > >=20 > This part looks unrelated. >=20 Commit says that it deals with consequences of make_dev_alias_p failing. Preventing trap happening on said failure seems to be pretty much related to the stated goal. --=20 Alexander Kabaev --Sig_/wuk0Ge=9Fkog6ad5NJY+K_r Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iD8DBQFT8lymQ6z1jMm+XZYRAnMZAJ9ayTNO8+RXLO1KqqHMIp4OrjYK1QCaAkDQ QRUR5Kf0e3gOfk/0qE81IJc= =WcCr -----END PGP SIGNATURE----- --Sig_/wuk0Ge=9Fkog6ad5NJY+K_r--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140818160554.121e16e7>