Skip to content
Commit 5b243fc7 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

document-portal: Fuse, try to keep down nr of open fds

To avoid wasting fds we queue a dentry invalidate after every
successful lookup operation inside a document dir. This will
cause all outstanding dentries to be freed, thereby making the
kernel emit FORGET for inodes not used other than in the dcache.

This makes the stress-test go from max ~4000 outstanding fds to ~1000
for me, which should be enough to pass on systems with a hard limit
of 4096 fds.
parent aeed3e0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment