summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-11-21 09:10:35 +0000
committerdfr <dfr@FreeBSD.org>2008-11-21 09:10:35 +0000
commita55cc49b3929b3bf0a45ad4d07deffbd3f2c9f69 (patch)
treeab8d5ec98cc11a831326fcef09103323da14a94e
parent8bb6eb968445f53f3afcf1cd69496ee2c0971c04 (diff)
downloadFreeBSD-src-a55cc49b3929b3bf0a45ad4d07deffbd3f2c9f69.zip
FreeBSD-src-a55cc49b3929b3bf0a45ad4d07deffbd3f2c9f69.tar.gz
Add definitions for ZFS pool version 13.
-rw-r--r--sys/cddl/boot/zfs/zfsimpl.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/sys/cddl/boot/zfs/zfsimpl.h b/sys/cddl/boot/zfs/zfsimpl.h
index a3e18d6..7796d8e 100644
--- a/sys/cddl/boot/zfs/zfsimpl.h
+++ b/sys/cddl/boot/zfs/zfsimpl.h
@@ -459,13 +459,15 @@ typedef enum {
#define SPA_VERSION_9 9ULL
#define SPA_VERSION_10 10ULL
#define SPA_VERSION_11 11ULL
+#define SPA_VERSION_12 12ULL
+#define SPA_VERSION_13 13ULL
/*
* When bumping up SPA_VERSION, make sure GRUB ZFS understand the on-disk
* format change. Go to usr/src/grub/grub-0.95/stage2/{zfs-include/, fsys_zfs*},
* and do the appropriate changes.
*/
-#define SPA_VERSION SPA_VERSION_11
-#define SPA_VERSION_STRING "11"
+#define SPA_VERSION SPA_VERSION_13
+#define SPA_VERSION_STRING "13"
/*
* Symbolic names for the changes that caused a SPA_VERSION switch.
@@ -488,6 +490,18 @@ typedef enum {
#define SPA_VERSION_ZPOOL_HISTORY SPA_VERSION_4
#define SPA_VERSION_GZIP_COMPRESSION SPA_VERSION_5
#define SPA_VERSION_BOOTFS SPA_VERSION_6
+#define SPA_VERSION_SLOGS SPA_VERSION_7
+#define SPA_VERSION_DELEGATED_PERMS SPA_VERSION_8
+#define SPA_VERSION_FUID SPA_VERSION_9
+#define SPA_VERSION_REFRESERVATION SPA_VERSION_9
+#define SPA_VERSION_REFQUOTA SPA_VERSION_9
+#define SPA_VERSION_UNIQUE_ACCURATE SPA_VERSION_9
+#define SPA_VERSION_L2CACHE SPA_VERSION_10
+#define SPA_VERSION_NEXT_CLONES SPA_VERSION_11
+#define SPA_VERSION_ORIGIN SPA_VERSION_11
+#define SPA_VERSION_DSL_SCRUB SPA_VERSION_11
+#define SPA_VERSION_SNAP_PROPS SPA_VERSION_12
+#define SPA_VERSION_USED_BREAKDOWN SPA_VERSION_13
/*
* The following are configuration names used in the nvlist describing a pool's
OpenPOWER on IntegriCloud