Deleted Added
full compact
txg.c (268859) txg.c (278040)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 339 unchanged lines hidden (view full) ---

348}
349
350/*
351 * Blocks until all transactions in the group are committed.
352 *
353 * On return, the transaction group has reached a stable state in which it can
354 * then be passed off to the syncing context.
355 */
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 339 unchanged lines hidden (view full) ---

348}
349
350/*
351 * Blocks until all transactions in the group are committed.
352 *
353 * On return, the transaction group has reached a stable state in which it can
354 * then be passed off to the syncing context.
355 */
356static void
356static __noinline void
357txg_quiesce(dsl_pool_t *dp, uint64_t txg)
358{
359 tx_state_t *tx = &dp->dp_tx;
360 int g = txg & TXG_MASK;
361 int c;
362
363 /*
364 * Grab all tc_open_locks so nobody else can get into this txg.

--- 512 unchanged lines hidden ---
357txg_quiesce(dsl_pool_t *dp, uint64_t txg)
358{
359 tx_state_t *tx = &dp->dp_tx;
360 int g = txg & TXG_MASK;
361 int c;
362
363 /*
364 * Grab all tc_open_locks so nobody else can get into this txg.

--- 512 unchanged lines hidden ---