]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - include/sys/dmu_impl.h
Imported Upstream version 0.6.5.3
[mirror_zfs-debian.git] / include / sys / dmu_impl.h
index f13a2a37ce844e4b328dcfc5c52044f27c426587..75d094f0812e9769bd3afe3202d4a6a17026f1fb 100644 (file)
 /*
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ */
+/*
  * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ * Copyright (c) 2013 by Delphix. All rights reserved.
  */
 
 #ifndef _SYS_DMU_IMPL_H
@@ -265,8 +268,17 @@ typedef struct dmu_sendarg {
        uint64_t dsa_toguid;
        int dsa_err;
        dmu_pendop_t dsa_pending_op;
+       boolean_t dsa_incremental;
+       uint64_t dsa_featureflags;
+       uint64_t dsa_last_data_object;
+       uint64_t dsa_last_data_offset;
 } dmu_sendarg_t;
 
+void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *);
+void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *);
+int dmu_buf_hold_noread(objset_t *, uint64_t, uint64_t,
+    void *, dmu_buf_t **);
+
 #ifdef __cplusplus
 }
 #endif