Deleted Added
full compact
spa_impl.h (321540) spa_impl.h (324010)
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

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

20 */
21/*
22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2011, 2015 by Delphix. All rights reserved.
24 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
25 * Copyright 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
26 * Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
27 * Copyright 2013 Saso Kiselkov. All rights reserved.
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

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

20 */
21/*
22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2011, 2015 by Delphix. All rights reserved.
24 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
25 * Copyright 2013 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
26 * Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
27 * Copyright 2013 Saso Kiselkov. All rights reserved.
28 * Copyright (c) 2017 Datto Inc.
28 */
29
30#ifndef _SYS_SPA_IMPL_H
31#define _SYS_SPA_IMPL_H
32
33#include <sys/spa.h>
34#include <sys/vdev.h>
35#include <sys/metaslab.h>

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

188 uint64_t spa_scrub_inflight; /* in-flight scrub I/Os */
189 kcondvar_t spa_scrub_io_cv; /* scrub I/O completion */
190 uint8_t spa_scrub_active; /* active or suspended? */
191 uint8_t spa_scrub_type; /* type of scrub we're doing */
192 uint8_t spa_scrub_finished; /* indicator to rotate logs */
193 uint8_t spa_scrub_started; /* started since last boot */
194 uint8_t spa_scrub_reopen; /* scrub doing vdev_reopen */
195 uint64_t spa_scan_pass_start; /* start time per pass/reboot */
29 */
30
31#ifndef _SYS_SPA_IMPL_H
32#define _SYS_SPA_IMPL_H
33
34#include <sys/spa.h>
35#include <sys/vdev.h>
36#include <sys/metaslab.h>

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

189 uint64_t spa_scrub_inflight; /* in-flight scrub I/Os */
190 kcondvar_t spa_scrub_io_cv; /* scrub I/O completion */
191 uint8_t spa_scrub_active; /* active or suspended? */
192 uint8_t spa_scrub_type; /* type of scrub we're doing */
193 uint8_t spa_scrub_finished; /* indicator to rotate logs */
194 uint8_t spa_scrub_started; /* started since last boot */
195 uint8_t spa_scrub_reopen; /* scrub doing vdev_reopen */
196 uint64_t spa_scan_pass_start; /* start time per pass/reboot */
197 uint64_t spa_scan_pass_scrub_pause; /* scrub pause time */
198 uint64_t spa_scan_pass_scrub_spent_paused; /* total paused */
196 uint64_t spa_scan_pass_exam; /* examined bytes per pass */
197 kmutex_t spa_async_lock; /* protect async state */
198 kthread_t *spa_async_thread; /* thread doing async task */
199 kthread_t *spa_async_thread_vd; /* thread doing vd async task */
200 int spa_async_suspended; /* async tasks suspended */
201 kcondvar_t spa_async_cv; /* wait for thread_exit() */
202 uint16_t spa_async_tasks; /* async task mask */
203 char *spa_root; /* alternate root directory */

--- 113 unchanged lines hidden ---
199 uint64_t spa_scan_pass_exam; /* examined bytes per pass */
200 kmutex_t spa_async_lock; /* protect async state */
201 kthread_t *spa_async_thread; /* thread doing async task */
202 kthread_t *spa_async_thread_vd; /* thread doing vd async task */
203 int spa_async_suspended; /* async tasks suspended */
204 kcondvar_t spa_async_cv; /* wait for thread_exit() */
205 uint16_t spa_async_tasks; /* async task mask */
206 char *spa_root; /* alternate root directory */

--- 113 unchanged lines hidden ---