sapling/eden/fs
Wez Furlong 9f07485239 add code to serialize FileHandleMap
Summary:
The serialized data for each file handle needs to be enough
to re-construct the handle when we load it into a new process later
on.  We need the inode number, the file handle number that we communicated
to the kernel and a flag to let us know whether it is a file or a dir.

Note that the file handle allocation strategy already accomodates the
idea of migrating to a new process; we don't need to serialize anything
like a next file handle id number.

This doesn't implement instantiating the handles from the loaded state,
it is just the plumbing for saving and loading that state information.

Reviewed By: bolinfest

Differential Revision: D5733079

fbshipit-source-id: 8fb8afb8ae9694d013ce7a4a82c31bc876ed33c9
2017-08-30 19:20:23 -07:00
..
config Auto-dep the auto-dep'd TARGETS 2017-07-02 15:50:51 -07:00
fuse add code to serialize FileHandleMap 2017-08-30 19:20:23 -07:00
inodes add code to serialize FileHandleMap 2017-08-30 19:20:23 -07:00
journal fix journal merging of remove followed by create events 2017-08-17 12:33:51 -07:00
model add == and != comparisons for Tree objects 2017-07-05 11:21:30 -07:00
rocksdb Merge StringBase.cpp into String.cpp 2017-06-29 20:20:11 -07:00
service add an EdenServer::run() method 2017-08-30 13:50:08 -07:00
store enable tree manifest imports by default again 2017-08-30 19:20:23 -07:00
testharness add a tag parameter to ThreadLocal<EdenStats> 2017-08-18 11:50:56 -07:00
utils Modification of unloadChildrenNow 2017-08-18 14:20:43 -07:00