usr/src/uts/common/sys/fs/zfs.h
changeset 8053 271f44d3de11
parent 7754 b80e4842ad54
child 8845 91af0d9c0790
equal deleted inserted replaced
8052:d956c9f73e59 8053:271f44d3de11
   247 #define	SPA_VERSION_9			9ULL
   247 #define	SPA_VERSION_9			9ULL
   248 #define	SPA_VERSION_10			10ULL
   248 #define	SPA_VERSION_10			10ULL
   249 #define	SPA_VERSION_11			11ULL
   249 #define	SPA_VERSION_11			11ULL
   250 #define	SPA_VERSION_12			12ULL
   250 #define	SPA_VERSION_12			12ULL
   251 #define	SPA_VERSION_13			13ULL
   251 #define	SPA_VERSION_13			13ULL
       
   252 #define	SPA_VERSION_14			14ULL
   252 /*
   253 /*
   253  * When bumping up SPA_VERSION, make sure GRUB ZFS understands the on-disk
   254  * When bumping up SPA_VERSION, make sure GRUB ZFS understands the on-disk
   254  * format change. Go to usr/src/grub/grub-0.95/stage2/{zfs-include/, fsys_zfs*},
   255  * format change. Go to usr/src/grub/grub-0.95/stage2/{zfs-include/, fsys_zfs*},
   255  * and do the appropriate changes.
   256  * and do the appropriate changes.
   256  */
   257  */
   257 #define	SPA_VERSION			SPA_VERSION_13
   258 #define	SPA_VERSION			SPA_VERSION_14
   258 #define	SPA_VERSION_STRING		"13"
   259 #define	SPA_VERSION_STRING		"14"
   259 
   260 
   260 /*
   261 /*
   261  * Symbolic names for the changes that caused a SPA_VERSION switch.
   262  * Symbolic names for the changes that caused a SPA_VERSION switch.
   262  * Used in the code when checking for presence or absence of a feature.
   263  * Used in the code when checking for presence or absence of a feature.
   263  * Feel free to define multiple symbolic names for each version if there
   264  * Feel free to define multiple symbolic names for each version if there
   288 #define	SPA_VERSION_NEXT_CLONES		SPA_VERSION_11
   289 #define	SPA_VERSION_NEXT_CLONES		SPA_VERSION_11
   289 #define	SPA_VERSION_ORIGIN		SPA_VERSION_11
   290 #define	SPA_VERSION_ORIGIN		SPA_VERSION_11
   290 #define	SPA_VERSION_DSL_SCRUB		SPA_VERSION_11
   291 #define	SPA_VERSION_DSL_SCRUB		SPA_VERSION_11
   291 #define	SPA_VERSION_SNAP_PROPS		SPA_VERSION_12
   292 #define	SPA_VERSION_SNAP_PROPS		SPA_VERSION_12
   292 #define	SPA_VERSION_USED_BREAKDOWN	SPA_VERSION_13
   293 #define	SPA_VERSION_USED_BREAKDOWN	SPA_VERSION_13
       
   294 #define	SPA_VERSION_PASSTHROUGH_X	SPA_VERSION_14
   293 
   295 
   294 /*
   296 /*
   295  * ZPL version - rev'd whenever an incompatible on-disk format change
   297  * ZPL version - rev'd whenever an incompatible on-disk format change
   296  * occurs.  This is independent of SPA/DMU/ZAP versioning.  You must
   298  * occurs.  This is independent of SPA/DMU/ZAP versioning.  You must
   297  * also update the version_table[] and help message in zfs_prop.c.
   299  * also update the version_table[] and help message in zfs_prop.c.