mergerfs icon indicating copy to clipboard operation
mergerfs copied to clipboard

[Documentation] cyclic reference in definition of eppfrd and pfrd policies

Open topin89 opened this issue 4 years ago • 2 comments

A minor documentation issue, eppfrd defined as "like pfrd", and vise versa.

Policy Description
eppfrd (existing path, percentage free random distribution) Like pfrd but limited to existing paths.
pfrd (percentage free random distribution) Search: Same as eppfrd. Action: Same as eppfrd. Create: Chooses a branch at random with the likelihood of selection based on a branch's available space relative to the total.

topin89 avatar Feb 05 '21 23:02 topin89

It's not really cyclical. Each policy is really 3. Depending on the usage. search, action, or create. The create is the truly relevant definition. I had specific definitions prior and people complained it was too much to read so I made them relative.

If I revert it it'd be:

  • pfrd (search): Chooses a branch with existing relative path at random with the likelihood of selection based on a branch's available space relative to the total.

  • pfrd (action): Chooses a branch with existing relative path at random with the likelihood of selection based on a branch's available space relative to the total.

  • pfrd (create): Chooses a branch at random with the likelihood of selection based on a branch's available space relative to the total.

  • eppfrd (search): Chooses a branch with existing relative path at random with the likelihood of selection based on a branch's available space relative to the total.

  • eppfrd (action): Chooses a branch with existing relative path at random with the likelihood of selection based on a branch's available space relative to the total.

  • eppfrd (create): Chooses a branch with existing relative path at random with the likelihood of selection based on a branch's available space relative to the total.

trapexit avatar Feb 05 '21 23:02 trapexit

eppfrd is ep+pfrd. It is a kind of pfrd that chooses a branch with existing relative path.

pfrd in my opinion is likly msf: most free space but by percentage.

libook avatar Jun 02 '21 09:06 libook