We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071306e commit cf5d451Copy full SHA for cf5d451
tests/zfs-with-vdevs.nix
@@ -16,6 +16,15 @@ diskoLib.testLib.makeDiskoTest {
16
out == expected_value
17
), f"Expected {property}={expected_value} on {ds}, got: {out}"
18
19
+ # These fields are 0 if l2arc is disabled
20
+ assert (
21
+ machine.succeed(
22
+ "cat /proc/spl/kstat/zfs/arcstats"
23
+ " | grep '^l2_' | tr -s ' '"
24
+ " | cut -s -d ' ' -f3 | uniq"
25
+ ).strip() != "0"
26
+ ), "Excepted cache to be utilized."
27
+
28
assert_property("zroot", "compression", "zstd")
29
assert_property("zroot/zfs_fs", "com.sun:auto-snapshot", "true")
30
assert_property("zroot/zfs_fs", "compression", "zstd")
0 commit comments