]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/dsl_dataset.h
Implement large_dnode pool feature
[mirror_zfs.git] / include / sys / dsl_dataset.h
index a596642e3130afab6eecfe5b681e5d7572ead4fc..f3e64a77236e729debf26695c25758e38db7fb9b 100644 (file)
@@ -91,6 +91,13 @@ struct dsl_pool;
  */
 #define        DS_FIELD_LARGE_BLOCKS "org.open-zfs:large_blocks"
 
+/*
+ * This field is present (with value=0) if this dataset may contain large
+ * dnodes (>512B).  If it is present, then this dataset is counted in the
+ * refcount of the SPA_FEATURE_LARGE_DNODE feature.
+ */
+#define        DS_FIELD_LARGE_DNODE "org.zfsonlinux:large_dnode"
+
 /*
  * DS_FLAG_CI_DATASET is set if the dataset contains a file system whose
  * name lookups should be performed case-insensitively.