Deleted Added
full compact
vdev.h (219089) vdev.h (230514)
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) 2012 by Delphix. All rights reserved.
23 */
24
25#ifndef _SYS_VDEV_H
26#define _SYS_VDEV_H
27
28#include <sys/spa.h>
29#include <sys/zio.h>
30#include <sys/dmu.h>

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

43 DTL_TYPES
44} vdev_dtl_type_t;
45
46extern boolean_t zfs_nocacheflush;
47
48extern int vdev_open(vdev_t *);
49extern void vdev_open_children(vdev_t *);
50extern boolean_t vdev_uses_zvols(vdev_t *);
24 */
25
26#ifndef _SYS_VDEV_H
27#define _SYS_VDEV_H
28
29#include <sys/spa.h>
30#include <sys/zio.h>
31#include <sys/dmu.h>

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

44 DTL_TYPES
45} vdev_dtl_type_t;
46
47extern boolean_t zfs_nocacheflush;
48
49extern int vdev_open(vdev_t *);
50extern void vdev_open_children(vdev_t *);
51extern boolean_t vdev_uses_zvols(vdev_t *);
51extern int vdev_validate(vdev_t *);
52extern int vdev_validate(vdev_t *, boolean_t);
52extern void vdev_close(vdev_t *);
53extern int vdev_create(vdev_t *, uint64_t txg, boolean_t isreplace);
54extern void vdev_reopen(vdev_t *);
55extern int vdev_validate_aux(vdev_t *vd);
56extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio);
57
58extern boolean_t vdev_is_bootable(vdev_t *vd);
59extern vdev_t *vdev_lookup_top(spa_t *spa, uint64_t vdev);

--- 102 unchanged lines hidden ---
53extern void vdev_close(vdev_t *);
54extern int vdev_create(vdev_t *, uint64_t txg, boolean_t isreplace);
55extern void vdev_reopen(vdev_t *);
56extern int vdev_validate_aux(vdev_t *vd);
57extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio);
58
59extern boolean_t vdev_is_bootable(vdev_t *vd);
60extern vdev_t *vdev_lookup_top(spa_t *spa, uint64_t vdev);

--- 102 unchanged lines hidden ---