mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 <behlendorf1@llnl.gov> Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Closes #11188
This commit is contained in:
parent
9bd14b8724
commit
18ca574f0a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user