Skip to content

feat(configure_mergerfs): add configurable pool_policy variable#133

Open
adamantike wants to merge 1 commit intomonstermuffin:mainfrom
adamantike:feat/var-pool_policy
Open

feat(configure_mergerfs): add configurable pool_policy variable#133
adamantike wants to merge 1 commit intomonstermuffin:mainfrom
adamantike:feat/var-pool_policy

Conversation

@adamantike
Copy link
Copy Markdown

Replaces the hardcoded epmfs create policy in the main MergerFS pool mounts (media_cold, media_noncached) with a pool_policy variable.

For context, MergerFS changed its default policy to pfrd in version 2.41.0 [1]. This new variable allows users to use the new recommended policy, if desired.

Defaults to epmfs for backwards compatibility.

[1] https://trapexit.github.io/mergerfs/latest/faq/configuration_and_policies/#why-is-pfrd-the-default-create-policy

Replaces the hardcoded `epmfs` create policy in the main MergerFS pool
mounts (media_cold, media_noncached) with a `pool_policy` variable.

For context, MergerFS changed its default policy to `pfrd` in version
2.41.0 [1]. This new variable allows users to use the new recommended
policy, if desired.

Defaults to `epmfs` for backwards compatibility.

[1] https://trapexit.github.io/mergerfs/latest/faq/configuration_and_policies/#why-is-pfrd-the-default-create-policy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant