Deleted Added
full compact
zfsimpl.h (198420) zfsimpl.h (201143)
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
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
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 */
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 */
487#define SPA_VERSION SPA_VERSION_13
488#define SPA_VERSION_STRING "13"
488#define SPA_VERSION SPA_VERSION_14
489#define SPA_VERSION_STRING "14"
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
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
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 ---
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 ---