mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 20:22:14 +03:00
Illumos #3742
3742 zfs comments need cleaner, more consistent style Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Christopher Siden <christopher.siden@delphix.com> References: https://www.illumos.org/issues/3742 illumos/illumos-gate@f717074149 Ported-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1775 Porting notes: 1. The change to zfs_vfsops.c was dropped because it involves zfs_mount_label_policy, which does not exist in the Linux port.
This commit is contained in:
committed by
Brian Behlendorf
parent
e49f1e20a0
commit
d3cc8b152e
+1
-1
@@ -636,7 +636,7 @@ txg_delay(dsl_pool_t *dp, uint64_t txg, hrtime_t delay, hrtime_t resolution)
|
||||
tx_state_t *tx = &dp->dp_tx;
|
||||
hrtime_t start = gethrtime();
|
||||
|
||||
/* don't delay if this txg could transition to quiesing immediately */
|
||||
/* don't delay if this txg could transition to quiescing immediately */
|
||||
if (tx->tx_open_txg > txg ||
|
||||
tx->tx_syncing_txg == txg-1 || tx->tx_synced_txg == txg-1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user