Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.6 Compat: Fall back to d_prune_aliases() if necessary #4769

Closed
wants to merge 1 commit into from

Commits on Jun 17, 2016

  1. 4.6 Compat: Fall back to d_prune_aliases() if necessary

    As of 4.6, the icache and dcache LRUs are memcg aware insofar as the
    kernel's per-superblock shrinker is concerned.  The effect is that dcache
    or icache entries added by a task in a non-root memcg won't be scanned
    by the shrinker in the context of the root (or NULL) memcg.  This defeats
    the attempts by zfs_sb_prune() to unpin buffers and can allow metadata to
    grow uncontrollably.  This patch reverts to the d_prune_aliaes() method
    in case the kernel's per-superblock shrinker is not able to free anything.
    
    Fixes: openzfs#4726
    dweeezil committed Jun 17, 2016
    Configuration menu
    Copy the full SHA
    9eca023 View commit details
    Browse the repository at this point in the history