Skip to content

Commit 6b42c17

Browse files
mjguzikRageLtMan
authored andcommitted
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 openzfs#11188
1 parent 39fb66e commit 6b42c17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

module/zfs/zio.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ void
144144
zio_init(void)
145145
{
146146
size_t c;
147-
vmem_t *data_alloc_arena = NULL;
148147

149148
zio_cache = kmem_cache_create("zio_cache",
150149
sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0);
@@ -213,8 +212,7 @@ zio_init(void)
213212
(void) snprintf(name, sizeof (name), "zio_data_buf_%lu",
214213
(ulong_t)size);
215214
zio_data_buf_cache[c] = kmem_cache_create(name, size,
216-
align, NULL, NULL, NULL, NULL,
217-
data_alloc_arena, data_cflags);
215+
align, NULL, NULL, NULL, NULL, NULL, data_cflags);
218216
}
219217
}
220218

0 commit comments

Comments
 (0)