HomeFreeBSD

zdb: Fix ignored zfs_arc_max tuning

Description

zdb: Fix ignored zfs_arc_max tuning

Running zdb -l $disk shows a warning that zfs_arc_max is being ignored.
zdb sets zfs_arc_max below zfs_arc_min, which causes the value to be
ignored by arc_tuning_update().

Set zfs_arc_min to the bare minimum in zdb, which is below zfs_arc_max.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Allan Jude <allanjude@freebsd.org>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10269

Details

Provenance
freqlabsAuthored on May 1 2020, 12:48 AM
GitHub <noreply@github.com>Committed on May 1 2020, 12:48 AM
Parents
rG0aeb0bed6fe1: OpenZFS 6765 - zfs_zaccess_delete() comments do not accurately
Branches
Unknown
Tags
Unknown