mirror_zfs/tests/zfs-tests/tests/functional/arc
Giuseppe Di Natale a07ad58847 Fix dbufstats_001_pos
Implement a new helper within_tolerance to test if a value
is within range of a target.

Because the dbufstats and dbufs kstat file are being read
at slightly different times, it is possible for stats to be
slightly off. Use within_tolerance to determine if the value
is "close enough" to the target.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #7239 
Closes #7266
2018-03-07 09:53:04 -08:00
..
cleanup.ksh Add dbuf hash and dbuf cache kstats 2018-01-29 10:24:52 -08:00
dbufstats_001_pos.ksh Fix dbufstats_001_pos 2018-03-07 09:53:04 -08:00
dbufstats_002_pos.ksh Add dbuf hash and dbuf cache kstats 2018-01-29 10:24:52 -08:00
Makefile.am Add dbuf hash and dbuf cache kstats 2018-01-29 10:24:52 -08:00
setup.ksh Add dbuf hash and dbuf cache kstats 2018-01-29 10:24:52 -08:00