sapling/eden/fs/fuse
Adam Simpkins 5305edefc1 update PrivHelper APIs to return Futures
Summary:
Up until now all of the privhelper APIs have been blocking calls.  This
changes the privhelper functions to return Futures, and updates all users of
these APIs to be able to handle the results using Futures.

One benefit of this change is that all existing mount points are remounted in
parallel now during startup, rather than being mounted serially.  The old code
performed a blocking `get()` call on the future returned by
`EdenServer::mount()`.

The privhelper calls themselves are still blocking for now--they block until
complete and always return completed Future objects.  I will update the
privhelper code in a subsequent diff to actually make it asynchronous.

Reviewed By: bolinfest

Differential Revision: D8053421

fbshipit-source-id: 342d38697f67518f6ca96a37c12dd9812ddb151d
2018-06-11 18:32:25 -07:00
..
fuse_tester update PrivHelper APIs to return Futures 2018-06-11 18:32:25 -07:00
privhelper update PrivHelper APIs to return Futures 2018-06-11 18:32:25 -07:00
test standardize on std::chrono_literals 2018-05-18 16:51:15 -07:00
BufVec.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
BufVec.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
DirHandle.h mark a bunch of folly::Future<folly::Unit> functions with FOLLY_NODISCARD 2018-04-26 21:00:25 -07:00
DirList.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
DirList.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
Dispatcher.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
Dispatcher.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
EdenStats.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
EdenStats.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
FileHandle.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandle.h mark a bunch of folly::Future<folly::Unit> functions with FOLLY_NODISCARD 2018-04-26 21:00:25 -07:00
FileHandleBase.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleBase.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleMap.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
FileHandleMap.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FuseChannel.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
FuseChannel.h declare the FuseChannel::InvalidationEntry move constructor noexcept 2018-03-30 15:16:13 -07:00
FuseTypes.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FuseTypes.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
handlemap.thrift move InodeMap serialization to new takeover.thrift file 2018-01-17 11:51:30 -08:00
PollHandle.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
PollHandle.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
RequestData.cpp folly::Unit{} -> folly::unit 2018-05-08 13:38:02 -07:00
RequestData.h Added thrift request to report outstanding FUSE calls 2018-03-20 10:25:49 -07:00