Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return -1 for generic kmem cache shrinker
It has been observed that it's possible to get in a state where shrink_slabs() will spin repeated invoking the generic kmem cache shrinker. It fails to detect it's not making forward progress reclaiming from the cache and doesn't give up. To ensure this never occurs we unconditionally return -1 after reclaiming what we can. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/zfs#1276 Issue openzfs/zfs#1598
- Loading branch information