summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorMateusz Guzik <[email protected]>2020-11-12 02:11:32 +0100
committerGitHub <[email protected]>2020-11-11 17:11:32 -0800
commit18ca574f0a52a05806f0d0ea6d70b7ebc35bf0c0 (patch)
tree21f229dabb6d4f326b4344f52688f1941f18f232 /module/zfs
parent9bd14b8724717bd344ac0c61378fc60e501c3c13 (diff)
G/C data_alloc_arena
It is a leftover from illumos always set to NULL and introducing a spurious difference between zio_buf and zio_data_buf. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Mateusz Guzik <[email protected]> Closes #11188
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/zio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c
index 55c2f1ea1..ccba6cea3 100644
--- a/module/zfs/zio.c
+++ b/module/zfs/zio.c
@@ -144,7 +144,6 @@ void
zio_init(void)
{
size_t c;
- vmem_t *data_alloc_arena = NULL;
zio_cache = kmem_cache_create("zio_cache",
sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0);
@@ -213,8 +212,7 @@ zio_init(void)
(void) snprintf(name, sizeof (name), "zio_data_buf_%lu",
(ulong_t)size);
zio_data_buf_cache[c] = kmem_cache_create(name, size,
- align, NULL, NULL, NULL, NULL,
- data_alloc_arena, data_cflags);
+ align, NULL, NULL, NULL, NULL, NULL, data_cflags);
}
}