This series makes cephfs kernel client proactively unused release caps. The basic idea is trim stale dentries (have no valid leases). Trimming dentries releases references to associated inodes, which may evict inodes and release caps. For stale dentries, the cost of revalidating is about the same as lookup. So trimming stale dentries should not have big impact on performance. Regards Yan, Zheng