sapling/eden/fs/service
Xavier Deguillard 4f9bfb66fc inodes: avoid unecessary shared_ptr copies
Summary:
Passing shared_ptr by copy everywhere can be expensive as it forces an atomic
operation to be performed. Since the caller of the glob code can easily
guarantee that the data will outlive the globbing code, let's just pass
references/pointers to it so that only references and pointers are copied.

Reviewed By: genevievehelsel

Differential Revision: D31344889

fbshipit-source-id: cee797202470aa123381d9ee22e11780722f5b33
2021-10-06 17:18:25 -07:00
..
oss service: unify startup on Windows/Linux/macOS 2020-10-22 16:24:17 -07:00
test Remove direct uses of gmock.h 2021-07-07 13:32:31 -07:00
.gitignore watchman: pull in thrift in the oss build for eden support 2019-02-04 21:37:47 -08:00
CMakeLists.txt add an EDEN_HAVE_USAGE_SERVICE config macro 2021-09-08 19:50:44 -07:00
eden.thrift prefetch option to only list files 2021-09-14 10:02:33 -07:00
EdenCPUThreadPool.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenCPUThreadPool.h Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenInit.cpp eden: use fmt::format instead of folly::to 2020-09-23 21:14:20 -07:00
EdenInit.h eden: use fmt::format instead of folly::to 2020-09-23 21:14:20 -07:00
EdenMain.cpp config: add a new knob 2021-10-05 15:52:49 -07:00
EdenMain.h config: add a new knob 2021-10-05 15:52:49 -07:00
EdenServer.cpp store: remove LocalStore usage from BackingStore::getRootTree 2021-10-05 19:59:27 -07:00
EdenServer.h add a counter for the NFS unloaded unlinked inodes 2021-09-27 14:31:49 -07:00
EdenServiceHandler.cpp inodes: avoid unecessary shared_ptr copies 2021-10-06 17:18:25 -07:00
EdenServiceHandler.h explicit Hash20 instead of Hash [proxy hash removal 2/n] 2021-10-01 12:43:26 -07:00
EdenStateDir.cpp nfs: allow mountd and nfsd to bind to a unix socket on macOS 2021-05-12 13:06:57 -07:00
EdenStateDir.h nfs: allow mountd and nfsd to bind to a unix socket on macOS 2021-05-12 13:06:57 -07:00
fb-edenfs@.service set OOMScoreAdjust to -20 in systemd unit 2019-10-02 12:53:28 -07:00
PeriodicTask.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PeriodicTask.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrettyPrinters.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
PrettyPrinters.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrivHelperMain.cpp edenfs: remove use of fork from StartupLogger 2020-09-18 17:22:39 -07:00
StartupLogger.cpp Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
StartupLogger.h Log how long it took for eden to start 2021-04-01 10:32:18 -07:00
streamingeden.thrift add edenfsctl trace fs support for nfs 2021-06-29 17:50:25 -07:00
Systemd.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
Systemd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftUtil.h explicit Hash20 instead of Hash [proxy hash removal 2/n] 2021-10-01 12:43:26 -07:00