sapling/eden/fs/nfs
Xavier Deguillard 42b17dfa1c nfs: add to Executor directly without creating a future
Summary:
folly::via is a Future API, and thus it creates one, which requires allocating
it and then attaching it to the Executore. Since the code to dispatch a request
isn't Future based, we don't need to use folly::via, and we can simply add the
lambda to the Executor directly. This removes expensive memory allocations from
the EventBase.

Reviewed By: kmancini

Differential Revision: D27976674

fbshipit-source-id: 8fa9724a94ba69b071ab894cdbbad0d33733c098
2021-04-28 17:06:23 -07:00
..
portmap nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
rpc nfs: add to Executor directly without creating a future 2021-04-28 17:06:23 -07:00
test nfs: add missing DirListTest 2021-03-24 09:45:26 -07:00
testharness nfs: add a serializedSize to XdrTrait 2021-03-18 10:08:50 -07:00
xdr nfs: allow serializing std::optional 2021-03-29 09:20:33 -07:00
CMakeLists.txt nfs: move servicing of NFS callback to a threadpool 2021-03-29 09:20:33 -07:00
DirList.cpp nfs: make XdrTrait<T>::serializedSize non constexpr 2021-03-22 19:27:38 -07:00
DirList.h nfs: implement the READDIR RPC 2021-03-18 10:08:50 -07:00
Mountd.cpp nfs: move servicing of NFS callback to a threadpool 2021-03-29 09:20:33 -07:00
Mountd.h nfs: move servicing of NFS callback to a threadpool 2021-03-29 09:20:33 -07:00
MountdRpc.cpp nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
MountdRpc.h nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
Nfsd3.cpp utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00
Nfsd3.h utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00
NfsDispatcher.cpp fs: add an NfsDispatcher 2021-02-17 23:32:38 -08:00
NfsDispatcher.h nfs: implement the MKNOD procedure 2021-04-13 15:17:35 -07:00
NfsdRpc.cpp nfs: add RPC types for MKNOD 2021-04-13 14:59:58 -07:00
NfsdRpc.h nfs: add RPC types for MKNOD 2021-04-13 14:59:58 -07:00
NfsServer.cpp utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00
NfsServer.h utils: introduce CaseSensitivity 2021-04-20 13:08:27 -07:00