sapling/eden/fs/inodes
Matt Glazar 40b5223d24 Work around system-wide hangs: disable process name cache
Summary:
Some people encounter system-wide hangs on their Linux machines. Debugging points to a deadlock related to EdenFS' process name lookup code. Disable the process name cache during FUSE dispatch to avoid the deadlock.

Effects:

* Hopefully, the deadlock no longer happens.
* 'eden top' will no longer report process names. (It should work otherwise, though.)

Reviewed By: simpkins

Differential Revision: D13540947

fbshipit-source-id: 595c36150a5f8ff1b8e7cd81d8f61ee1463d96eb
2018-12-21 15:43:51 -08:00
..
test remove EdenFileHandle and FileInode::open 2018-12-12 17:10:29 -08:00
CacheHint.h add CacheHint parameters to FileInode reads 2018-11-22 00:45:25 -08:00
CheckoutAction.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutAction.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutContext.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutContext.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
CMakeLists.txt eden: add missing cmake for eden/fs/tracing 2018-12-15 19:11:05 -08:00
DeferredDiffEntry.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
DeferredDiffEntry.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
DiffContext.cpp DiffContext changes to use TopLevelIgnores 2018-07-19 17:21:38 -07:00
DiffContext.h DiffContext changes to use TopLevelIgnores 2018-07-19 17:21:38 -07:00
Differ.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
Differ.h update getScmStatus() to require the commit hash as an argument 2018-04-06 12:51:31 -07:00
DirEntry.cpp clarify DirEntry's ownership of InodeBase* 2018-07-17 21:37:35 -07:00
DirEntry.h eden: allow full width of mode_t in DirEntry on macos 2018-12-15 19:11:05 -08:00
EdenDispatcher.cpp eden: fixup some fuse version differences for osxfuse 2018-12-17 20:16:19 -08:00
EdenDispatcher.h remove FileHandleMap 2018-12-13 12:29:13 -08:00
EdenMount.cpp Work around system-wide hangs: disable process name cache 2018-12-21 15:43:51 -08:00
EdenMount.h remove SerializedFileHandleMap 2018-12-13 12:29:13 -08:00
EdenMountError.h propagate bind mount errors 2018-10-09 16:39:45 -07:00
FileInode.cpp remove EdenFileHandle and FileInode::open 2018-12-12 17:10:29 -08:00
FileInode.h remove EdenFileHandle and FileInode::open 2018-12-12 17:10:29 -08:00
GlobNode.cpp convert some deprecated Future::then() calls 2018-10-23 13:42:12 -07:00
GlobNode.h move GlobNode -> inodes dir 2018-07-13 11:22:19 -07:00
InodeBase.cpp remove overlay timestamp migration logic 2018-11-28 15:44:58 -08:00
InodeBase.h remove TreeInodeDirHandle, fix unmount while dir handle is open 2018-12-04 16:37:41 -08:00
InodeDiffCallback.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodeError.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
InodeError.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
InodeLoader.h convert some deprecated Future::then() calls 2018-10-22 20:27:25 -07:00
InodeMap.cpp Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeMap.h Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeMetadata.cpp allow changing uid/gid on files and directories 2018-05-24 00:15:54 -07:00
InodeMetadata.h allow changing permissions on directories 2018-05-22 11:22:19 -07:00
InodePtr-defs.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodePtr.cpp fix opt build 2018-03-12 22:22:59 -07:00
InodePtr.h add explicit conversion from std::unique_ptr to InodePtr 2018-03-09 13:37:08 -08:00
InodePtrFwd.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodeTable.h Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeTimestamps.cpp eden: add helper for accessing stat fields as timespecs 2018-12-16 18:31:46 -08:00
InodeTimestamps.h update mtime on directories when renaming 2018-06-01 11:39:01 -07:00
Overlay.cpp eden: no O_PATH on macos, adjust Overlay code 2018-12-15 19:11:05 -08:00
Overlay.h stop reading timestamps from the overlay 2018-11-26 11:59:25 -08:00
overlay.thrift decouple whether an entry has an inode number from materialization status 2018-03-23 18:21:21 -07:00
OverlayFileAccess.cpp introduce an OverlayFileAccess class with a handle cache 2018-12-12 17:10:29 -08:00
OverlayFileAccess.h introduce an OverlayFileAccess class with a handle cache 2018-12-12 17:10:29 -08:00
ParentInodeInfo.h Split Dir into its own type and move TreeInodeState out of TreeInode 2018-06-01 09:38:45 -07:00
ServerState.cpp Win: Porting eden/service to Windows with fb-thrift 2018-10-22 20:27:26 -07:00
ServerState.h pass ReloadableConfig down to HgBackingStore ctor 2018-10-31 11:50:38 -07:00
TopLevelIgnores.h Remove unused code for ingesting system and user ignore files 2018-07-30 19:06:33 -07:00
TreeInode.cpp remove EdenFileHandle and FileInode::open 2018-12-12 17:10:29 -08:00
TreeInode.h remove EdenFileHandle and FileInode::open 2018-12-12 17:10:29 -08:00