Prevent inlining txg_quiesce

This allows dtrace to monitor the calls to txg_quiesce which can be really
helpful.

Also standardise __noinline order for arc_kmem_reap_now.

Sponsored by:	Multiplay
This commit is contained in:
Steven Hartland 2015-02-02 00:17:36 +00:00
parent 81cb3b156b
commit 370a13bfff
2 changed files with 2 additions and 2 deletions

View File

@ -2677,7 +2677,7 @@ extern kmem_cache_t *zio_buf_cache[];
extern kmem_cache_t *zio_data_buf_cache[];
extern kmem_cache_t *range_seg_cache;
static void __noinline
static __noinline void
arc_kmem_reap_now(arc_reclaim_strategy_t strat)
{
size_t i;

View File

@ -353,7 +353,7 @@ txg_rele_to_sync(txg_handle_t *th)
* 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 __noinline void
txg_quiesce(dsl_pool_t *dp, uint64_t txg)
{
tx_state_t *tx = &dp->dp_tx;