Deleted Added
full compact
vdev.h (256956) vdev.h (260150)
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/*
23 * 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

--- 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/*
23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright (c) 2012 by Delphix. All rights reserved.
24 * Copyright (c) 2013 by Delphix. All rights reserved.
25 */
26
27#ifndef _SYS_VDEV_H
28#define _SYS_VDEV_H
29
30#include <sys/spa.h>
31#include <sys/zio.h>
32#include <sys/dmu.h>

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

107extern boolean_t vdev_is_dead(vdev_t *vd);
108extern boolean_t vdev_readable(vdev_t *vd);
109extern boolean_t vdev_writeable(vdev_t *vd);
110extern boolean_t vdev_allocatable(vdev_t *vd);
111extern boolean_t vdev_accessible(vdev_t *vd, zio_t *zio);
112
113extern void vdev_cache_init(vdev_t *vd);
114extern void vdev_cache_fini(vdev_t *vd);
25 */
26
27#ifndef _SYS_VDEV_H
28#define _SYS_VDEV_H
29
30#include <sys/spa.h>
31#include <sys/zio.h>
32#include <sys/dmu.h>

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

107extern boolean_t vdev_is_dead(vdev_t *vd);
108extern boolean_t vdev_readable(vdev_t *vd);
109extern boolean_t vdev_writeable(vdev_t *vd);
110extern boolean_t vdev_allocatable(vdev_t *vd);
111extern boolean_t vdev_accessible(vdev_t *vd, zio_t *zio);
112
113extern void vdev_cache_init(vdev_t *vd);
114extern void vdev_cache_fini(vdev_t *vd);
115extern int vdev_cache_read(zio_t *zio);
115extern boolean_t vdev_cache_read(zio_t *zio);
116extern void vdev_cache_write(zio_t *zio);
117extern void vdev_cache_purge(vdev_t *vd);
118
119extern void vdev_queue_init(vdev_t *vd);
120extern void vdev_queue_fini(vdev_t *vd);
121extern zio_t *vdev_queue_io(zio_t *zio);
122extern void vdev_queue_io_done(zio_t *zio);
123extern int vdev_queue_length(vdev_t *vd);

--- 46 unchanged lines hidden ---
116extern void vdev_cache_write(zio_t *zio);
117extern void vdev_cache_purge(vdev_t *vd);
118
119extern void vdev_queue_init(vdev_t *vd);
120extern void vdev_queue_fini(vdev_t *vd);
121extern zio_t *vdev_queue_io(zio_t *zio);
122extern void vdev_queue_io_done(zio_t *zio);
123extern int vdev_queue_length(vdev_t *vd);

--- 46 unchanged lines hidden ---