sapling/eden/fs
Adam Simpkins a598e8c334 implement Inode unloading
Summary:
This updates the InodePtr and InodeBase code to actually implement Inode
unloading and destruction.

At the moment we keep Inode objects as long as possible, and only unload them
during shutdown, or when the last reference to an unlinked inode goes away.
However, it should be straightforward to add on-demand unloading in the future
for Inodes that have not been accessed in a while.  The
TreeInode::unloadChildrenNow() function provides a template for what this would
look like (it would simply need to be changed to check an access time when
doing on-demand unloading).

Reviewed By: wez

Differential Revision: D4360765

fbshipit-source-id: a46b355f0ac0c25f873a156e62af5184317de735
2017-01-17 15:03:20 -08:00
..
cli Fixup more rule names in TARGETS 2017-01-16 11:40:07 -08:00
config codemod: fixup more build targets in TARGETS 2017-01-14 01:44:01 -08:00
inodes implement Inode unloading 2017-01-17 15:03:20 -08:00
integration Fixup more rule names in TARGETS 2017-01-16 11:40:07 -08:00
journal codemod: fixup more build targets in TARGETS 2017-01-14 01:44:01 -08:00
model codemod: fixup more build targets in TARGETS 2017-01-14 01:44:01 -08:00
rocksdb codemod: fixup more build targets in TARGETS 2017-01-14 01:44:01 -08:00
service add an EdenMount::destroy() function 2017-01-17 15:03:20 -08:00
store codemod: fixup more build targets in TARGETS 2017-01-14 01:44:01 -08:00
testharness add an EdenMount::destroy() function 2017-01-17 15:03:20 -08:00