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. |
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 *); |
52extern int vdev_validate(vdev_t *, boolean_t); |
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 --- |