Skip to content

Commit

Permalink
Merge pull request os-autoinst#18227 from rfan1/btrfs_cache
Browse files Browse the repository at this point in the history
Remove 'space_cache' option for btrfs
  • Loading branch information
tinawang123 authored Dec 1, 2023
2 parents d689a89 + 505cfe1 commit 1710928
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/yam/autoyast/btrfs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">btrfs</filesystem>
<format config:type="boolean">true</format>
<fstopt>rw,relatime,space_cache</fstopt>
<fstopt>rw,relatime</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/</mount>
<mountby config:type="symbol">uuid</mountby>
Expand Down
2 changes: 1 addition & 1 deletion test_data/yast/autoyast/profiles/btrfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ profile:
- mount: swap
- mount: /
subvolumes_prefix: ''
fstopt: rw,relatime,space_cache
fstopt: rw,relatime
subvolumes:
subvolume:
- path: usr/local
Expand Down
2 changes: 1 addition & 1 deletion tests/autoyast/verify_btrfs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sub run {

### Verify mounted drives ###
# Common part of regexp
my $common_opts = qr/rw|relatime|space_cache|subvolid=\d+/;
my $common_opts = qr/rw|relatime|discard=async|space_cache=v2|subvolid=\d+/;

# Get verify mount options for root
validate_script_output "findmnt / -no OPTIONS", sub {
Expand Down

0 comments on commit 1710928

Please sign in to comment.