]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zio.c
Combine zio caches if possible
authorMateusz Guzik <mjguzik@gmail.com>
Sat, 17 Apr 2021 19:36:04 +0000 (21:36 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 19:36:04 +0000 (12:36 -0700)
commit309c32c954122d75eefd484f891bd041bf6cd845
treea7c7ec3555e8639e213da1a9848e0168e5fc3872
parentc682b67827f8945f62804e6f14a8d8f26618366a
Combine zio caches if possible

This deduplicates 2 sets of caches which use the same allocation size.

Memory savings fluctuate a lot, one sample result is FreeBSD running
"make buildworld" saving ~180MB RAM in reduced page count associated
with zio caches.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11877
module/zfs/zio.c