zfs.h revision 3cb69f734bc60bbb4d56a28c83706db862bec082
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * CDDL HEADER START
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * You may not use this file except in compliance with the License.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * See the License for the specific language governing permissions
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * and limitations under the License.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * When distributing Covered Code, include this CDDL HEADER in each
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * If applicable, add the following below this CDDL HEADER, with the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * fields enclosed by brackets "[]" replaced with your own identifying
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * information: Portions Copyright [yyyy] [name of copyright owner]
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * CDDL HEADER END
6809eb4e2a4a94bcc76229c7b5108b96134537b6Eric Schrock * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock * Use is subject to license terms.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrockextern "C" {
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_UNKNOWN "vdev.unknown"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_OPEN_FAILED "vdev.open_failed"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_CORRUPT_DATA "vdev.corrupt_data"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_NO_REPLICAS "vdev.no_replicas"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_BAD_GUID_SUM "vdev.bad_guid_sum"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_TOO_SMALL "vdev.too_small"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_ZFS_DEVICE_BAD_LABEL "vdev.bad_label"
51ece83525fa18f5e72627610f480dffc7e492fdeschrock#define FM_EREPORT_ZFS_PROBE_FAILURE "probe_failure"
3cb69f734bc60bbb4d56a28c83706db862bec082Will Andrews#define FM_EREPORT_ZFS_CONFIG_CACHE_WRITE "config_cache_write"
32b87932f3ef0887d873b7f6d2d1943799b2afc0ek#define FM_EREPORT_PAYLOAD_ZFS_POOL_FAILMODE "pool_failmode"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_POOL_GUID "pool_guid"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_POOL_CONTEXT "pool_context"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID "vdev_guid"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_VDEV_TYPE "vdev_type"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_VDEV_PATH "vdev_path"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_VDEV_DEVID "vdev_devid"
6809eb4e2a4a94bcc76229c7b5108b96134537b6Eric Schrock#define FM_EREPORT_PAYLOAD_ZFS_VDEV_FRU "vdev_fru"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_PARENT_GUID "parent_guid"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_PARENT_TYPE "parent_type"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_PARENT_PATH "parent_path"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_PARENT_DEVID "parent_devid"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_ZIO_OBJSET "zio_objset"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_ZIO_OBJECT "zio_object"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_ZIO_LEVEL "zio_level"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_ZIO_BLKID "zio_blkid"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_ZIO_OFFSET "zio_offset"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#define FM_EREPORT_PAYLOAD_ZFS_PREV_STATE "prev_state"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_CKSUM_EXPECTED "cksum_expected"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_CKSUM_ACTUAL "cksum_actual"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_CKSUM_ALGO "cksum_algorithm"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_CKSUM_BYTESWAP "cksum_byteswap"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_OFFSET_RANGES "bad_ranges"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_RANGE_MIN_GAP "bad_ranges_min_gap"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_RANGE_SETS "bad_range_sets"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_RANGE_CLEARS "bad_range_clears"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_SET_BITS "bad_set_bits"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_CLEARED_BITS "bad_cleared_bits"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_SET_HISTOGRAM "bad_set_histogram"
22fe2c8844be88ebae6478ca1b0b92c8ec2aef54Jonathan Adams#define FM_EREPORT_PAYLOAD_ZFS_BAD_CLEARED_HISTOGRAM "bad_cleared_histogram"
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#endif /* _SYS_FM_FS_ZFS_H */