kern/183077: don't have the compiler inline txg_quiesce so that zilstat works
Ruben van Staveren
ruben at verweg.com
Wed Jan 8 15:30:01 UTC 2014
The following reply was made to PR kern/183077; it has been noted by GNATS.
From: Ruben van Staveren <ruben at verweg.com>
To: bug-followup at FreeBSD.org, Ruben van Staveren <ruben at verweg.com>
Cc:
Subject: Re: kern/183077: don't have the compiler inline txg_quiesce so that zilstat works
Date: Wed, 8 Jan 2014 16:28:50 +0100
--Apple-Mail=_C4725950-B205-4C65-B29C-4D6B3A39551E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
This is also applicable to FreeBSD 10.0-PRERELEASE r260387M
Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.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
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c =
(revision 260387)
+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c (working =
copy)
@@ -354,7 +354,7 @@
* On return, the transaction group has reached a stable state in which =
it can
* then be passed off to the syncing context.
*/
-static void
+static __attribute__ ((noinline)) void
txg_quiesce(dsl_pool_t *dp, uint64_t txg)
{
tx_state_t *tx =3D &dp->dp_tx;
--Apple-Mail=_C4725950-B205-4C65-B29C-4D6B3A39551E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAlLNbrIACgkQZ88+mcQxRw0W5QCeNuWTu/yR/4AE5iDnvv0QZdn8
mGUAnihSjg3xpKW8f7F5cImZnPmALeyl
=+URu
-----END PGP SIGNATURE-----
--Apple-Mail=_C4725950-B205-4C65-B29C-4D6B3A39551E--
More information about the freebsd-bugs
mailing list