forked from daos-stack/daos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-14511 dfuse: Instruct fuse to invalidate dentries after timeout. (…
…daos-stack#13065) Have dfuse instruct the kernel to invalidate old cache-expired inodes. Create a extra data structure to keep inodes in time order, when inodes are looked up move them to the end of the list and have a thread checking the start of the list for expired entries. When entries are expired then after some additional time call inval_dentry() on the last known dentry which will cause the kernel to call forget() on the inode and all it's children. This means that over time as timeouts expire the size of the working set will decrease as will memory consumption of both dfuse and the kernel and as a result dfuse will close open containers and detach from pools. Signed-off-by: Ashley Pittman [email protected]
- Loading branch information
1 parent
9f78878
commit 5ba0569
Showing
14 changed files
with
637 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.