Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c
Show All 12 Lines | |||||
boolean_t mm_root; | boolean_t mm_root; | ||||
mirror_child_t mm_child[]; | mirror_child_t mm_child[]; | ||||
} mirror_map_t; | } mirror_map_t; | ||||
static int vdev_mirror_shift = 21; | static int vdev_mirror_shift = 21; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
SYSCTL_DECL(_vfs_zfs_vdev); | SYSCTL_DECL(_vfs_zfs_vdev); | ||||
static SYSCTL_NODE(_vfs_zfs_vdev, OID_AUTO, mirror, CTLFLAG_RD, 0, | static SYSCTL_NODE(_vfs_zfs_vdev, OID_AUTO, mirror, | ||||
CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | |||||
"ZFS VDEV Mirror"); | "ZFS VDEV Mirror"); | ||||
#endif | #endif | ||||
/* | /* | ||||
* The load configuration settings below are tuned by default for | * The load configuration settings below are tuned by default for | ||||
* the case where all devices are of the same rotational type. | * the case where all devices are of the same rotational type. | ||||
* | * | ||||
* If there is a mixture of rotating and non-rotating media, setting | * If there is a mixture of rotating and non-rotating media, setting | ||||
Show All 12 Lines |