Skip to content

Commit

Permalink
test: BTRFS nospace_cache usage was failing to mount on 5.19.0-43-gen…
Browse files Browse the repository at this point in the history
…eric

Signed-off-by: Thomas Parrott <[email protected]>
(cherry picked from commit a13b571)
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
tomponline authored and simondeziel committed Jul 9, 2024
1 parent 887ed42 commit 80ec3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 80ec3d6

Please sign in to comment.