metaslab_impl.h (219089) | metaslab_impl.h (224177) |
---|---|
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 --- 7 unchanged lines hidden (view full) --- 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 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. | 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 --- 7 unchanged lines hidden (view full) --- 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 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. |
24 * Copyright (c) 2011 by Delphix. All rights reserved. |
|
24 */ 25 26#ifndef _SYS_METASLAB_IMPL_H 27#define _SYS_METASLAB_IMPL_H 28 29#include <sys/metaslab.h> 30#include <sys/space_map.h> 31#include <sys/vdev.h> --- 15 unchanged lines hidden (view full) --- 47 uint64_t mc_dspace; /* total deflated space */ 48}; 49 50struct metaslab_group { 51 kmutex_t mg_lock; 52 avl_tree_t mg_metaslab_tree; 53 uint64_t mg_aliquot; 54 uint64_t mg_bonus_area; | 25 */ 26 27#ifndef _SYS_METASLAB_IMPL_H 28#define _SYS_METASLAB_IMPL_H 29 30#include <sys/metaslab.h> 31#include <sys/space_map.h> 32#include <sys/vdev.h> --- 15 unchanged lines hidden (view full) --- 48 uint64_t mc_dspace; /* total deflated space */ 49}; 50 51struct metaslab_group { 52 kmutex_t mg_lock; 53 avl_tree_t mg_metaslab_tree; 54 uint64_t mg_aliquot; 55 uint64_t mg_bonus_area; |
56 uint64_t mg_alloc_failures; |
|
55 int64_t mg_bias; 56 int64_t mg_activation_count; 57 metaslab_class_t *mg_class; 58 vdev_t *mg_vd; 59 metaslab_group_t *mg_prev; 60 metaslab_group_t *mg_next; 61}; 62 --- 27 unchanged lines hidden --- | 57 int64_t mg_bias; 58 int64_t mg_activation_count; 59 metaslab_class_t *mg_class; 60 vdev_t *mg_vd; 61 metaslab_group_t *mg_prev; 62 metaslab_group_t *mg_next; 63}; 64 --- 27 unchanged lines hidden --- |