OpenZFS 7004 - dmu_tx_hold_zap() does dnode_hold() 7x on same object
[zfs.git] / include / sys / vdev_disk.h
blob15570b10553f4cd68c535c4fb20e929040d1dc64
1 /*
2 * CDDL HEADER START
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.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
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]
19 * CDDL HEADER END
22 * Copyright (C) 2008-2010 Lawrence Livermore National Security, LLC.
23 * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
24 * Written by Brian Behlendorf <behlendorf1@llnl.gov>.
25 * LLNL-CODE-403049.
28 #ifndef _SYS_VDEV_DISK_H
29 #define _SYS_VDEV_DISK_H
31 #ifdef _KERNEL
32 #include <sys/vdev.h>
34 typedef struct vdev_disk {
35 ddi_devid_t vd_devid;
36 char *vd_minor;
37 struct block_device *vd_bdev;
38 } vdev_disk_t;
40 #endif /* _KERNEL */
41 #endif /* _SYS_VDEV_DISK_H */