Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
#include <sys/blkptr.h> | #include <sys/blkptr.h> | ||||
#include <sys/zfeature.h> | #include <sys/zfeature.h> | ||||
#include <sys/dsl_scan.h> | #include <sys/dsl_scan.h> | ||||
#include <sys/metaslab_impl.h> | #include <sys/metaslab_impl.h> | ||||
#include <sys/abd.h> | #include <sys/abd.h> | ||||
#include <sys/cityhash.h> | #include <sys/cityhash.h> | ||||
SYSCTL_DECL(_vfs_zfs); | SYSCTL_DECL(_vfs_zfs); | ||||
SYSCTL_NODE(_vfs_zfs, OID_AUTO, zio, CTLFLAG_RW, 0, "ZFS ZIO"); | SYSCTL_NODE(_vfs_zfs, OID_AUTO, zio, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"ZFS ZIO"); | |||||
#if defined(__amd64__) | #if defined(__amd64__) | ||||
static int zio_use_uma = 1; | static int zio_use_uma = 1; | ||||
#else | #else | ||||
static int zio_use_uma = 0; | static int zio_use_uma = 0; | ||||
#endif | #endif | ||||
SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, use_uma, CTLFLAG_RDTUN, &zio_use_uma, 0, | SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, use_uma, CTLFLAG_RDTUN, &zio_use_uma, 0, | ||||
"Use uma(9) for ZIO allocations"); | "Use uma(9) for ZIO allocations"); | ||||
static int zio_exclude_metadata = 0; | static int zio_exclude_metadata = 0; | ||||
▲ Show 20 Lines • Show All 4,323 Lines • Show Last 20 Lines |