From 80ec3d68b4e54fb273f39cd0920a53dd646b37de Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 31 May 2023 16:27:23 +0100 Subject: [PATCH] test: BTRFS nospace_cache usage was failing to mount on 5.19.0-43-generic Signed-off-by: Thomas Parrott (cherry picked from commit a13b5714f90bf34758adad27b6551d6d73bd2fdd) Signed-off-by: Simon Deziel --- test/suites/storage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/suites/storage.sh b/test/suites/storage.sh index 0a3b29e2d1b5..fa916db31a9e 100644 --- a/test/suites/storage.sh +++ b/test/suites/storage.sh @@ -147,8 +147,8 @@ test_storage() { lxc storage create "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" btrfs rsync.bwlimit=1024 lxc storage delete "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" - lxc storage create "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" btrfs btrfs.mount_options="rw,strictatime,nospace_cache,user_subvol_rm_allowed" - lxc storage set "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" btrfs.mount_options "rw,relatime,space_cache,user_subvol_rm_allowed" + lxc storage create "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" btrfs btrfs.mount_options="rw,strictatime,user_subvol_rm_allowed" + lxc storage set "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" btrfs.mount_options "rw,relatime,user_subvol_rm_allowed" lxc storage delete "lxdtest-$(basename "${LXD_DIR}")-valid-btrfs-pool-config" fi