]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - zfs/include/sys/dsl_pool.h
UBUNTU: SAUCE: (noup) Update spl to 0.7.3-1ubuntu1, zfs to 0.7.3-1ubuntu1
[mirror_ubuntu-bionic-kernel.git] / zfs / include / sys / dsl_pool.h
index 48b12e8eb1346236288f71cf198f6c45023456c7..d2dabda6df19917dbec5f6f09c6b8b9d3dc5f218 100644 (file)
@@ -20,7 +20,8 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2013, 2017 by Delphix. All rights reserved.
+ * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  */
 
 #ifndef        _SYS_DSL_POOL_H
@@ -37,6 +38,7 @@
 #include <sys/bpobj.h>
 #include <sys/bptree.h>
 #include <sys/rrwlock.h>
+#include <sys/mmp.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -106,6 +108,7 @@ typedef struct dsl_pool {
        kcondvar_t dp_spaceavail_cv;
        uint64_t dp_dirty_pertxg[TXG_SIZE];
        uint64_t dp_dirty_total;
+       uint64_t dp_long_free_dirty_pertxg[TXG_SIZE];
        uint64_t dp_mos_used_delta;
        uint64_t dp_mos_compressed_delta;
        uint64_t dp_mos_uncompressed_delta;
@@ -122,6 +125,7 @@ typedef struct dsl_pool {
        txg_list_t dp_dirty_zilogs;
        txg_list_t dp_dirty_dirs;
        txg_list_t dp_sync_tasks;
+       taskq_t *dp_sync_taskq;
 
        /*
         * Protects administrative changes (properties, namespace)