mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 12:12:13 +03:00
ZTS: Catalog tunable names for tests in tunables.cfg
Update tests to use the variables for tunable names. Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9831
This commit is contained in:
committed by
Brian Behlendorf
parent
61152d1069
commit
2476f10306
@@ -415,7 +415,7 @@ function get_max_dbuf_cache_size
|
||||
typeset -l max_dbuf_cache_size
|
||||
|
||||
if is_linux; then
|
||||
max_dbuf_cache_size=$(get_tunable dbuf_cache_max_bytes)
|
||||
max_dbuf_cache_size=$(get_tunable DBUF_CACHE_MAX_BYTES)
|
||||
else
|
||||
max_dbuf_cache_size=$(dtrace -qn 'BEGIN {
|
||||
printf("%u\n", `dbuf_cache_max_bytes);
|
||||
|
||||
Reference in New Issue
Block a user