Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_impl.h
Show All 21 Lines | |||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. | * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. | ||||
* Copyright (c) 2011, 2018 by Delphix. All rights reserved. | * Copyright (c) 2011, 2018 by Delphix. All rights reserved. | ||||
* Copyright 2011 Nexenta Systems, Inc. All rights reserved. | * Copyright 2011 Nexenta Systems, Inc. All rights reserved. | ||||
* Copyright 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved. | * Copyright 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved. | ||||
* Copyright (c) 2014 Spectra Logic Corporation, All rights reserved. | * Copyright (c) 2014 Spectra Logic Corporation, All rights reserved. | ||||
* Copyright 2013 Saso Kiselkov. All rights reserved. | * Copyright 2013 Saso Kiselkov. All rights reserved. | ||||
* Copyright (c) 2017 Datto Inc. | * Copyright (c) 2017 Datto Inc. | ||||
* Copyright (c) 2017, Intel Corporation. | * Copyright (c) 2017, Intel Corporation. | ||||
* Copyright (c) 2016 Actifio, Inc. All rights reserved. | |||||
*/ | */ | ||||
#ifndef _SYS_SPA_IMPL_H | #ifndef _SYS_SPA_IMPL_H | ||||
#define _SYS_SPA_IMPL_H | #define _SYS_SPA_IMPL_H | ||||
#include <sys/spa.h> | #include <sys/spa.h> | ||||
#include <sys/spa_checkpoint.h> | #include <sys/spa_checkpoint.h> | ||||
#include <sys/vdev.h> | #include <sys/vdev.h> | ||||
▲ Show 20 Lines • Show All 355 Lines • ▼ Show 20 Lines | struct { | ||||
int spa_queued; | int spa_queued; | ||||
} spa_queue_stats[ZIO_PRIORITY_NUM_QUEUEABLE]; | } spa_queue_stats[ZIO_PRIORITY_NUM_QUEUEABLE]; | ||||
#endif | #endif | ||||
/* arc_memory_throttle() parameters during low memory condition */ | /* arc_memory_throttle() parameters during low memory condition */ | ||||
uint64_t spa_lowmem_page_load; /* memory load during txg */ | uint64_t spa_lowmem_page_load; /* memory load during txg */ | ||||
uint64_t spa_lowmem_last_txg; /* txg window start */ | uint64_t spa_lowmem_last_txg; /* txg window start */ | ||||
hrtime_t spa_ccw_fail_time; /* Conf cache write fail time */ | hrtime_t spa_ccw_fail_time; /* Conf cache write fail time */ | ||||
taskq_t *spa_zvol_taskq; /* Taskq for minor management */ | |||||
uint64_t spa_multihost; /* multihost aware (mmp) */ | uint64_t spa_multihost; /* multihost aware (mmp) */ | ||||
mmp_thread_t spa_mmp; /* multihost mmp thread */ | mmp_thread_t spa_mmp; /* multihost mmp thread */ | ||||
list_t spa_leaf_list; /* list of leaf vdevs */ | list_t spa_leaf_list; /* list of leaf vdevs */ | ||||
uint64_t spa_leaf_list_gen; /* track leaf_list changes */ | uint64_t spa_leaf_list_gen; /* track leaf_list changes */ | ||||
/* | /* | ||||
* spa_refcount & spa_config_lock must be the last elements | * spa_refcount & spa_config_lock must be the last elements | ||||
Show All 24 Lines |