zvol.c (168404) | zvol.c (168962) |
---|---|
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 --- 29 unchanged lines hidden (view full) --- 38 * /dev/zvol/dsk/<pool_name>/<dataset_name> 39 * /dev/zvol/rdsk/<pool_name>/<dataset_name> 40 * 41 * These links are created by the ZFS-specific devfsadm link generator. 42 * Volumes are persistent through reboot. No user command needs to be 43 * run before opening and using a device. 44 */ 45 | 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 --- 29 unchanged lines hidden (view full) --- 38 * /dev/zvol/dsk/<pool_name>/<dataset_name> 39 * /dev/zvol/rdsk/<pool_name>/<dataset_name> 40 * 41 * These links are created by the ZFS-specific devfsadm link generator. 42 * Volumes are persistent through reboot. No user command needs to be 43 * run before opening and using a device. 44 */ 45 |
46#include <sys/types.h> |
|
46#include <sys/param.h> 47#include <sys/kernel.h> 48#include <sys/errno.h> 49#include <sys/uio.h> 50#include <sys/bio.h> | 47#include <sys/param.h> 48#include <sys/kernel.h> 49#include <sys/errno.h> 50#include <sys/uio.h> 51#include <sys/bio.h> |
52#include <sys/buf.h> |
|
51#include <sys/kmem.h> 52#include <sys/conf.h> 53#include <sys/cmn_err.h> 54#include <sys/stat.h> 55#include <sys/zap.h> 56#include <sys/spa.h> 57#include <sys/zio.h> 58#include <sys/dsl_prop.h> | 53#include <sys/kmem.h> 54#include <sys/conf.h> 55#include <sys/cmn_err.h> 56#include <sys/stat.h> 57#include <sys/zap.h> 58#include <sys/spa.h> 59#include <sys/zio.h> 60#include <sys/dsl_prop.h> |
61#include <sys/dkio.h> |
|
59#include <sys/byteorder.h> | 62#include <sys/byteorder.h> |
63#include <sys/sunddi.h> |
|
60#include <sys/dirent.h> | 64#include <sys/dirent.h> |
65#include <sys/policy.h> |
|
61#include <sys/fs/zfs.h> 62#include <sys/zfs_ioctl.h> 63#include <sys/zil.h> 64#include <sys/refcount.h> 65#include <sys/zfs_znode.h> 66#include <sys/zfs_rlock.h> 67#include <geom/geom.h> 68 --- 728 unchanged lines hidden --- | 66#include <sys/fs/zfs.h> 67#include <sys/zfs_ioctl.h> 68#include <sys/zil.h> 69#include <sys/refcount.h> 70#include <sys/zfs_znode.h> 71#include <sys/zfs_rlock.h> 72#include <geom/geom.h> 73 --- 728 unchanged lines hidden --- |