Skip to content

Commit

Permalink
fscache: blob gc feature for fscache with inuse and cull
Browse files Browse the repository at this point in the history
Add blob gc for fscache by using `inuse` and `cull`,
this implementation reference the implementation of the `cachefilesd`,
but since we use ondemand mode, so it's sightly different.

The gc watermark for now is 95% used blocks or 95% used files,
in the future, we need to change it configurable.

Signed-off-by: Qi Wang <[email protected]>
  • Loading branch information
yawqi committed Jun 21, 2022
1 parent 92509b9 commit 42d51da
Showing 1 changed file with 332 additions and 7 deletions.
Loading

0 comments on commit 42d51da

Please sign in to comment.