From fa300ca547f3c046f0919a699ed2deb8ffc32371 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 10 Nov 2021 20:08:21 +0100 Subject: [PATCH] dont do logbias=throughput, fragmentation might not be worth it --- bundles/postgresql/metadata.py | 1 - bundles/raspberry-pi/metadata.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/bundles/postgresql/metadata.py b/bundles/postgresql/metadata.py index e0904f2..0c20730 100644 --- a/bundles/postgresql/metadata.py +++ b/bundles/postgresql/metadata.py @@ -30,7 +30,6 @@ if node.has_bundle('zfs'): 'mountpoint': '/var/lib/postgresql', 'recordsize': '8192', 'atime': 'off', - 'logbias': 'throughput', }, }, } diff --git a/bundles/raspberry-pi/metadata.py b/bundles/raspberry-pi/metadata.py index 3b8bb02..6ea4f58 100644 --- a/bundles/raspberry-pi/metadata.py +++ b/bundles/raspberry-pi/metadata.py @@ -33,12 +33,6 @@ def zfs(metadata): return { 'zfs': { - 'datasets': { - name: { - 'logbias': 'throughput', - } - for name in metadata.get('zfs/datasets') - }, 'kernel_params': { 'zfs_txg_timeout': 300, },