[PATCH v5 6/6] fs/dcache: Make negative dentry limit enforcement sysctl parameter

2018-07-01 Thread Waiman Long
It can be useful to make negative dentry limit enformcement a runtime tuning parameter instead of just a boot time option. This allows system administrator to disable limit enforcement in normal use, but turn it on under certain circumstances. A new /proc/sys/fs/enforce-neg-dentry-limit sysctl

[PATCH v5 6/6] fs/dcache: Make negative dentry limit enforcement sysctl parameter

2018-07-01 Thread Waiman Long
It can be useful to make negative dentry limit enformcement a runtime tuning parameter instead of just a boot time option. This allows system administrator to disable limit enforcement in normal use, but turn it on under certain circumstances. A new /proc/sys/fs/enforce-neg-dentry-limit sysctl