Deleted Added
full compact
vdev_impl.h (339034) vdev_impl.h (339105)
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

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

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 (c) 2005, 2010, Oracle and/or its affiliates. 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

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

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 (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2011, 2017 by Delphix. All rights reserved.
23 * Copyright (c) 2011, 2018 by Delphix. All rights reserved.
24 */
25
26#ifndef _SYS_VDEV_IMPL_H
27#define _SYS_VDEV_IMPL_H
28
29#include <sys/avl.h>
30#include <sys/bpobj.h>
31#include <sys/dmu.h>

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

54 * Forward declarations that lots of things need.
55 */
56typedef struct vdev_queue vdev_queue_t;
57typedef struct vdev_cache vdev_cache_t;
58typedef struct vdev_cache_entry vdev_cache_entry_t;
59struct abd;
60
61extern int zfs_vdev_queue_depth_pct;
24 */
25
26#ifndef _SYS_VDEV_IMPL_H
27#define _SYS_VDEV_IMPL_H
28
29#include <sys/avl.h>
30#include <sys/bpobj.h>
31#include <sys/dmu.h>

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

54 * Forward declarations that lots of things need.
55 */
56typedef struct vdev_queue vdev_queue_t;
57typedef struct vdev_cache vdev_cache_t;
58typedef struct vdev_cache_entry vdev_cache_entry_t;
59struct abd;
60
61extern int zfs_vdev_queue_depth_pct;
62extern int zfs_vdev_def_queue_depth;
62extern uint32_t zfs_vdev_async_write_max_active;
63
64/*
65 * Virtual device operations
66 */
67typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
68 uint64_t *logical_ashift, uint64_t *physical_ashift);
69typedef void vdev_close_func_t(vdev_t *vd);

--- 444 unchanged lines hidden ---
63extern uint32_t zfs_vdev_async_write_max_active;
64
65/*
66 * Virtual device operations
67 */
68typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
69 uint64_t *logical_ashift, uint64_t *physical_ashift);
70typedef void vdev_close_func_t(vdev_t *vd);

--- 444 unchanged lines hidden ---