aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zil.h
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2012-12-14 16:13:40 -0800
committerBrian Behlendorf <[email protected]>2013-01-08 10:35:43 -0800
commit29809a6cbae9869ca6ee026337981b2c9771650a (patch)
tree230751bd7e6530be1826d59a0d0d4438856ea410 /include/sys/zil.h
parentb9b24bb4ca45f2d903efadba44d10dfd182f62ac (diff)
Illumos #3086: unnecessarily setting DS_FLAG_INCONSISTENT on async
3086 unnecessarily setting DS_FLAG_INCONSISTENT on async destroyed datasets Reviewed by: Christopher Siden <[email protected]> Approved by: Eric Schrock <[email protected]> References: illumos/illumos-gate@ce636f8b38e8c9ff484e880d9abb27251a882860 illumos changeset: 13776:cd512c80fd75 https://www.illumos.org/issues/3086 Ported-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/sys/zil.h')
-rw-r--r--include/sys/zil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/zil.h b/include/sys/zil.h
index c583887cd..f786f0c9f 100644
--- a/include/sys/zil.h
+++ b/include/sys/zil.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
*/
/* Portions Copyright 2010 Robert Milkowski */
@@ -454,6 +455,7 @@ extern void zil_replay(objset_t *os, void *arg,
zil_replay_func_t *replay_func[TX_MAX_TYPE]);
extern boolean_t zil_replaying(zilog_t *zilog, dmu_tx_t *tx);
extern void zil_destroy(zilog_t *zilog, boolean_t keep_first);
+extern void zil_destroy_sync(zilog_t *zilog, dmu_tx_t *tx);
extern void zil_rollback_destroy(zilog_t *zilog, dmu_tx_t *tx);
extern itx_t *zil_itx_create(uint64_t txtype, size_t lrsize);