sapling/eden/fs/fuse
Chad Austin a31f57db1a disable pthread cancellation on the FuseChannel threads
Summary:
In glibc, pthread cancellation support adds two atomic CAS operations
to each "cancellation point" syscall (see pthreads(7)). This includes
read() and write(). We can avoid that overhead by disabling pthread
cancellation at the start of the FUSE worker threads.

This saves two CAS operations (~40 ns) in the critical FUSE request
processing loop.

Reviewed By: simpkins

Differential Revision: D21469690

fbshipit-source-id: 7f28a2a8e831006351657981e901dc572c58cf48
2020-05-08 20:41:50 -07:00
..
fuse_tester move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
privhelper use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
test use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
BufVec.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BufVec.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
DirList.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
DirList.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Dispatcher.cpp remove the dead FileHandle class 2019-10-18 12:17:43 -07:00
Dispatcher.h ensure fuse capability flags survive graceful restart 2019-12-10 10:25:30 -08:00
FuseChannel.cpp disable pthread cancellation on the FuseChannel threads 2020-05-08 20:41:50 -07:00
FuseChannel.h use a single static table for the fuse access type lookup 2020-04-30 10:20:45 -07:00
FuseTypes.h move third-party/ into eden/fs/ 2020-05-04 11:33:12 -07:00
InodeNumber.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeNumber.h Replace Folly Format with fmt in logger to reduce binary size 2019-11-18 05:53:08 -08:00
PollHandle.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PollHandle.h Tidy up license headers 2019-10-11 05:28:23 -07:00
RequestData.cpp make FUSE metrics more efficient 2020-04-23 10:46:16 -07:00
RequestData.h make FUSE metrics more efficient 2020-04-23 10:46:16 -07:00