[PATCH v2 0/4] fs/dcache: Limit # of negative dentries

2017-07-21 Thread Waiman Long
v1->v2: - Move the new nr_negative field to the end of dentry_stat_t structure as suggested by Matthew Wilcox. - With the help of Miklos Szeredi, fix incorrect locking order in dentry_kill() by using lock_parent() instead of locking the parent's d_lock directly. - Correctly

[PATCH v2 0/4] fs/dcache: Limit # of negative dentries

2017-07-21 Thread Waiman Long
v1->v2: - Move the new nr_negative field to the end of dentry_stat_t structure as suggested by Matthew Wilcox. - With the help of Miklos Szeredi, fix incorrect locking order in dentry_kill() by using lock_parent() instead of locking the parent's d_lock directly. - Correctly