]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - include/sys/zfs_debug.h
New upstream version 0.7.2
[mirror_zfs-debian.git] / include / sys / zfs_debug.h
index 2f0064ee045bd45f52364ade0e07081855e56e0e..226aaa2b84ab59581b9d3c01cffaa18dd68b281e 100644 (file)
@@ -42,14 +42,16 @@ extern int zfs_flags;
 extern int zfs_recover;
 extern int zfs_free_leak_on_eio;
 
-#define        ZFS_DEBUG_DPRINTF               (1<<0)
-#define        ZFS_DEBUG_DBUF_VERIFY           (1<<1)
-#define        ZFS_DEBUG_DNODE_VERIFY          (1<<2)
-#define        ZFS_DEBUG_SNAPNAMES             (1<<3)
-#define        ZFS_DEBUG_MODIFY                (1<<4)
-#define        ZFS_DEBUG_SPA                   (1<<5)
-#define        ZFS_DEBUG_ZIO_FREE              (1<<6)
-#define        ZFS_DEBUG_HISTOGRAM_VERIFY      (1<<7)
+#define        ZFS_DEBUG_DPRINTF               (1 << 0)
+#define        ZFS_DEBUG_DBUF_VERIFY           (1 << 1)
+#define        ZFS_DEBUG_DNODE_VERIFY          (1 << 2)
+#define        ZFS_DEBUG_SNAPNAMES             (1 << 3)
+#define        ZFS_DEBUG_MODIFY                (1 << 4)
+#define        ZFS_DEBUG_SPA                   (1 << 5)
+#define        ZFS_DEBUG_ZIO_FREE              (1 << 6)
+#define        ZFS_DEBUG_HISTOGRAM_VERIFY      (1 << 7)
+#define        ZFS_DEBUG_METASLAB_VERIFY       (1 << 8)
+#define        ZFS_DEBUG_SET_ERROR             (1 << 9)
 
 extern void __dprintf(const char *file, const char *func,
     int line, const char *fmt, ...);
@@ -72,6 +74,7 @@ extern void zfs_dbgmsg_fini(void);
 
 #ifndef _KERNEL
 extern int dprintf_find_string(const char *string);
+extern void zfs_dbgmsg_print(const char *tag);
 #endif
 
 #ifdef __cplusplus