sapling/eden/fs/fuse
Chad Austin 1fd889d0f4 short-circuit getxattr security.capability
Summary:
See the comment in FuseChannel.cpp, but it's currently not easy to
avoid the "security.capability" getxattr request for every
write. Since we can't avoid the request, the fastest thing we can do
is branch, strcmp, and fast-path a result on the same thread.

This appears to save three or four microseconds in the 4k random write
benchmark.

Reviewed By: wez

Differential Revision: D21341973

fbshipit-source-id: a23620767f4bdec4daf02ecfe3acb924dd57857a
2020-05-07 19:48:59 -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 short-circuit getxattr security.capability 2020-05-07 19:48:59 -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