From dc3f8a6ea0ab362d0b9d7cf329c00398b81bd818 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 7 Feb 2023 20:58:53 +0000 Subject: [PATCH] ubuntu-cpc: set default ext4 mount option commit=30 This allows to consolidate linux-kvm and linux-generic kernel flavours. This brings the perfomance benefit of linux-kvm flavour to all cloud and pre-installed images. It does trade data-safety. LP: #2006511 Signed-off-by: Dimitri John Ledkov --- live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot index 3d780e6e..9a25c0a0 100755 --- a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot @@ -72,7 +72,7 @@ if [ -n "${root_fs_label}" ]; then sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab" fi cat > /etc/fstab << EOM -LABEL=cloudimg-rootfs / ext4 discard,errors=remount-ro 0 1 +LABEL=cloudimg-rootfs / ext4 discard,commit=30,errors=remount-ro 0 1 EOM # for quantal and newer, add /etc/overlayroot.local.conf