Deleted Added
sdiff udiff text old ( 198420 ) new ( 201143 )
full compact
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/*
483 * When bumping up SPA_VERSION, make sure GRUB ZFS understand the on-disk
484 * format change. Go to usr/src/grub/grub-0.95/stage2/{zfs-include/, fsys_zfs*},
485 * and do the appropriate changes.
486 */
487#define SPA_VERSION SPA_VERSION_13
488#define SPA_VERSION_STRING "13"
489
490/*
491 * Symbolic names for the changes that caused a SPA_VERSION switch.
492 * Used in the code when checking for presence or absence of a feature.
493 * Feel free to define multiple symbolic names for each version if there
494 * were multiple changes to on-disk structures during that version.
495 *
496 * NOTE: When checking the current SPA_VERSION in your code, be sure

--- 18 unchanged lines hidden (view full) ---

515#define SPA_VERSION_REFQUOTA SPA_VERSION_9
516#define SPA_VERSION_UNIQUE_ACCURATE SPA_VERSION_9
517#define SPA_VERSION_L2CACHE SPA_VERSION_10
518#define SPA_VERSION_NEXT_CLONES SPA_VERSION_11
519#define SPA_VERSION_ORIGIN SPA_VERSION_11
520#define SPA_VERSION_DSL_SCRUB SPA_VERSION_11
521#define SPA_VERSION_SNAP_PROPS SPA_VERSION_12
522#define SPA_VERSION_USED_BREAKDOWN SPA_VERSION_13
523
524/*
525 * The following are configuration names used in the nvlist describing a pool's
526 * configuration.
527 */
528#define ZPOOL_CONFIG_VERSION "version"
529#define ZPOOL_CONFIG_POOL_NAME "name"
530#define ZPOOL_CONFIG_POOL_STATE "state"

--- 665 unchanged lines hidden ---