diff options
author | Andriy Gapon <[email protected]> | 2016-11-21 15:09:54 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-24 11:05:33 -0800 |
commit | 0efd97912a14bcbc9dceae3de70b9ceaafcb12a9 (patch) | |
tree | 55b6383c93f6508e2afe4100d1dde1e2b2fea024 /include | |
parent | 409b4127eea9bcf276f3bdaf5c2b8a907ccd1d59 (diff) |
OpenZFS 7199 - dsl_dataset_rollback_sync may try to free already free blocks
7200 no blocks must be born in a txg after a snaphot is created
Authored by: Andriy Gapon <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Brad Lewis <[email protected]>
Approved by: Gordon Ross <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Ported-by: George Melikov <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/7199
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/bfaed0b
Closes #5817
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/dsl_dataset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/dsl_dataset.h b/include/sys/dsl_dataset.h index fc87cbe86..9ca89dafa 100644 --- a/include/sys/dsl_dataset.h +++ b/include/sys/dsl_dataset.h @@ -280,6 +280,7 @@ boolean_t dsl_dataset_modified_since_snap(dsl_dataset_t *ds, dsl_dataset_t *snap); void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx); +void dsl_dataset_sync_done(dsl_dataset_t *os, dmu_tx_t *tx); void dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx); |