Deleted Added
full compact
uberblock_impl.h (185029) uberblock_impl.h (209962)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26#ifndef _SYS_UBERBLOCK_IMPL_H
27#define _SYS_UBERBLOCK_IMPL_H
28
23 * Use is subject to license terms.
24 */
25
26#ifndef _SYS_UBERBLOCK_IMPL_H
27#define _SYS_UBERBLOCK_IMPL_H
28
29#pragma ident "%Z%%M% %I% %E% SMI"
30
31#include <sys/uberblock.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37/*
29#include <sys/uberblock.h>
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35/*
36 * For zdb use and debugging purposes only
37 */
38extern uint64_t ub_max_txg;
39
40/*
38 * The uberblock version is incremented whenever an incompatible on-disk
39 * format change is made to the SPA, DMU, or ZAP.
40 *
41 * Note: the first two fields should never be moved. When a storage pool
42 * is opened, the uberblock must be read off the disk before the version
43 * can be checked. If the ub_version field is moved, we may not detect
44 * version mismatch. If the ub_magic field is moved, applications that
45 * expect the magic number in the first word won't work.

--- 18 unchanged lines hidden ---
41 * The uberblock version is incremented whenever an incompatible on-disk
42 * format change is made to the SPA, DMU, or ZAP.
43 *
44 * Note: the first two fields should never be moved. When a storage pool
45 * is opened, the uberblock must be read off the disk before the version
46 * can be checked. If the ub_version field is moved, we may not detect
47 * version mismatch. If the ub_magic field is moved, applications that
48 * expect the magic number in the first word won't work.

--- 18 unchanged lines hidden ---