mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 17:25:09 +00:00
Turn off UMA allocations on all archs by default. It isn't stable even on
amd64. Reported by: many MFC after: 3 days
This commit is contained in:
parent
d32ef791eb
commit
653e034db5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209261
|
@ -33,13 +33,9 @@
|
|||
#include <sys/zio_compress.h>
|
||||
#include <sys/zio_checksum.h>
|
||||
|
||||
#if defined(__amd64__)
|
||||
static int zio_use_uma = 1;
|
||||
#else
|
||||
static int zio_use_uma = 0;
|
||||
#endif
|
||||
SYSCTL_DECL(_vfs_zfs);
|
||||
SYSCTL_NODE(_vfs_zfs, OID_AUTO, zio, CTLFLAG_RW, 0, "ZFS ZIO");
|
||||
static int zio_use_uma = 0;
|
||||
TUNABLE_INT("vfs.zfs.zio.use_uma", &zio_use_uma);
|
||||
SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, use_uma, CTLFLAG_RDTUN, &zio_use_uma, 0,
|
||||
"Use uma(9) for ZIO allocations");
|
||||
|
|
Loading…
Reference in a new issue