sapling/eden/fs/fuse/privhelper
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
..
test update PrivHelper APIs to return Futures 2018-06-11 18:32:25 -07:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
PrivHelper.cpp update PrivHelper APIs to return Futures 2018-06-11 18:32:25 -07:00
PrivHelper.h update PrivHelper APIs to return Futures 2018-06-11 18:32:25 -07:00
PrivHelperConn.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
PrivHelperConn.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
PrivHelperServer.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
PrivHelperServer.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
UserInfo.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
UserInfo.h don't swallow sudo's stdout and stderr in eden daemon 2018-03-14 12:46:19 -07:00