Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux: Make zfs_prune() fair on NUMA systems
Previous code evicted nr_to_scan items from each node. This not only multiplies the eviction by number of nodes, but may totally exhaust smaller ones, evicting inodes used by the iacive workload and requiring their immediate recreation. This patch spreads the requested eviction between all NUMA nodes proportionally to their evictable counts, which should be closer to expected LRU logic. Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc.
- Loading branch information