Print this page
NEX-9673 Add capability to replicate cloned datasets relative to origin
Reviewed by: Alex Deiter <alex.deiter@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-6855 System fails to boot up after a large number of datasets created (lint)
NEX-6855 System fails to boot up after a large number of datasets created
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-3558 KRRP Integration

@@ -20,10 +20,11 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2012, 2016 by Delphix. All rights reserved.
  * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ * Copyright 2016 Nexenta Systems, Inc. All rights reserved.
  */
 
 #ifndef _SYS_DSL_DESTROY_H
 #define _SYS_DSL_DESTROY_H
 

@@ -32,18 +33,21 @@
 #endif
 
 struct nvlist;
 struct dsl_dataset;
 struct dmu_tx;
+struct dsl_pool;
 
 int dsl_destroy_snapshots_nvl(struct nvlist *, boolean_t,
     struct nvlist *);
+int dsl_destroy_atomically(const char *, boolean_t);
+void dsl_destroy_atomically_sync_dummy(void *arg, dmu_tx_t *tx);
 int dsl_destroy_snapshot(const char *, boolean_t);
 int dsl_destroy_head(const char *);
 int dsl_destroy_head_check_impl(struct dsl_dataset *, int);
 void dsl_destroy_head_sync_impl(struct dsl_dataset *, struct dmu_tx *);
-int dsl_destroy_inconsistent(const char *, void *);
+void dsl_destroy_inconsistent(struct dsl_pool *dp);
 int dsl_destroy_snapshot_check_impl(struct dsl_dataset *, boolean_t);
 void dsl_destroy_snapshot_sync_impl(struct dsl_dataset *,
     boolean_t, struct dmu_tx *);
 
 typedef struct dsl_destroy_snapshot_arg {