1/*- 2 * Copyright (c) 2002 McAfee, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Marshall 6 * Kirk McKusick and McAfee Research,, the Security Research Division of 7 * McAfee, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as 8 * part of the DARPA CHATS research program --- 465 unchanged lines hidden (view full) --- 474#define SPA_VERSION_6 6ULL 475#define SPA_VERSION_7 7ULL 476#define SPA_VERSION_8 8ULL 477#define SPA_VERSION_9 9ULL 478#define SPA_VERSION_10 10ULL 479#define SPA_VERSION_11 11ULL 480#define SPA_VERSION_12 12ULL 481#define SPA_VERSION_13 13ULL |
482#define SPA_VERSION_14 14ULL |
483/* 484 * When bumping up SPA_VERSION, make sure GRUB ZFS understand the on-disk 485 * format change. Go to usr/src/grub/grub-0.95/stage2/{zfs-include/, fsys_zfs*}, 486 * and do the appropriate changes. 487 */ |
488#define SPA_VERSION SPA_VERSION_14 489#define SPA_VERSION_STRING "14" |
490 491/* 492 * Symbolic names for the changes that caused a SPA_VERSION switch. 493 * Used in the code when checking for presence or absence of a feature. 494 * Feel free to define multiple symbolic names for each version if there 495 * were multiple changes to on-disk structures during that version. 496 * 497 * NOTE: When checking the current SPA_VERSION in your code, be sure --- 18 unchanged lines hidden (view full) --- 516#define SPA_VERSION_REFQUOTA SPA_VERSION_9 517#define SPA_VERSION_UNIQUE_ACCURATE SPA_VERSION_9 518#define SPA_VERSION_L2CACHE SPA_VERSION_10 519#define SPA_VERSION_NEXT_CLONES SPA_VERSION_11 520#define SPA_VERSION_ORIGIN SPA_VERSION_11 521#define SPA_VERSION_DSL_SCRUB SPA_VERSION_11 522#define SPA_VERSION_SNAP_PROPS SPA_VERSION_12 523#define SPA_VERSION_USED_BREAKDOWN SPA_VERSION_13 |
524#define SPA_VERSION_PASSTHROUGH_X SPA_VERSION_14 |
525 526/* 527 * The following are configuration names used in the nvlist describing a pool's 528 * configuration. 529 */ 530#define ZPOOL_CONFIG_VERSION "version" 531#define ZPOOL_CONFIG_POOL_NAME "name" 532#define ZPOOL_CONFIG_POOL_STATE "state" --- 665 unchanged lines hidden --- |