From f667f50f84faceee3d65b571eb5c4cbacf99bdb4 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 22 Jun 2023 13:28:56 -0400 Subject: [PATCH] Only put VM disk metadata into the ARC. The guest VMs should have their own filesystem cache so I see no need to pollute the host's cache. --- ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash b/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash index 6c3d2b2..e93e2bf 100644 --- a/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash +++ b/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash @@ -68,7 +68,7 @@ IP_RANGE="$IP_RANGE" BRIDGE_NAME="$BRIDGE_NAME" INTERFACE_NAME="$INTERFACE_NAME" EOF - zfs create -s "-V${gigabytes}G" -o volmode=dev "$zfs_path/disk0" + zfs create -s "-V${gigabytes}G" -o volmode=dev -o primarycache=metadata -o secondarycache=none "$zfs_path/disk0" } function start_vm {