diff options
author | Matthew Ahrens <[email protected]> | 2012-12-14 16:13:40 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-08 10:35:43 -0800 |
commit | 29809a6cbae9869ca6ee026337981b2c9771650a (patch) | |
tree | 230751bd7e6530be1826d59a0d0d4438856ea410 /include/sys/txg.h | |
parent | b9b24bb4ca45f2d903efadba44d10dfd182f62ac (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/txg.h')
-rw-r--r-- | include/sys/txg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sys/txg.h b/include/sys/txg.h index 2f87d747c..f9d6dd421 100644 --- a/include/sys/txg.h +++ b/include/sys/txg.h @@ -22,6 +22,9 @@ * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012 by Delphix. All rights reserved. + */ #ifndef _SYS_TXG_H #define _SYS_TXG_H @@ -121,7 +124,7 @@ extern void txg_wait_callbacks(struct dsl_pool *dp); extern void txg_list_create(txg_list_t *tl, size_t offset); extern void txg_list_destroy(txg_list_t *tl); -extern int txg_list_empty(txg_list_t *tl, uint64_t txg); +extern boolean_t txg_list_empty(txg_list_t *tl, uint64_t txg); extern int txg_list_add(txg_list_t *tl, void *p, uint64_t txg); extern int txg_list_add_tail(txg_list_t *tl, void *p, uint64_t txg); extern void *txg_list_remove(txg_list_t *tl, uint64_t txg); |