summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-07 08:27:14 +0100
committerAnna Schumaker <anna.schumaker@oracle.com>2026-01-20 14:49:47 -0500
commit300ca8123c901605eda5eba33c83dc6eb03d0a3c (patch)
tree95757cd820a79ba1bc7831d96372101220be0946 /include/linux/i2c/git@git.tavy.me:linux.git
parent0ebe655bd033fd84e312980c9eba199604631e7e (diff)
NFS: return delegations from the end of a LRU when over the watermark
Directly returning delegations on close when over the watermark is rather suboptimal as these delegations are much more likely to be reused than those that have been unused for a long time. Switch to returning unused delegations from a new LRU list when we are above the threshold and there are reclaimable delegations instead. Pass over referenced delegations during the first pass to give delegations that aren't in active used by frequently used for stat() or similar another chance to not be instantly reclaimed. This scheme works the same as the referenced flags in the VFS inode and dentry caches. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions