Author: dfr
Date: Fri Nov 21 09:10:35 2008
New Revision: 185154
URL: http://svn.freebsd.org/changeset/base/185154

Log:
  Add definitions for ZFS pool version 13.

Modified:
  head/sys/cddl/boot/zfs/zfsimpl.h

Modified: head/sys/cddl/boot/zfs/zfsimpl.h
==============================================================================
--- head/sys/cddl/boot/zfs/zfsimpl.h    Fri Nov 21 08:20:28 2008        
(r185153)
+++ head/sys/cddl/boot/zfs/zfsimpl.h    Fri Nov 21 09:10:35 2008        
(r185154)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to