mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-02 06:07:20 +00:00
Now that we have our own allocated block cache struct we need to add a shrinker so that it's reclaimed under memory pressure. We keep clean blocks in a simple lru list that the shrinker walks to free the oldest blocks. Signed-off-by: Zach Brown <zab@versity.com> Reviewed-by: Mark Fasheh <mfasheh@versity.com>