mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
acaba247cf
Summary: Some linkers (lld being one) use fallocate() or posix_fallocate() on the output file before writing its contents. EdenFS would return ENOSYS or ENOTSUP so glibc would fall back and write a single byte to every 512 byte block, which is terribly slow and generates a bunch of fake traffic in the Watchman journal. This diff implements basic support for FUSE_FALLOCATE, avoiding this slow emulation. Reviewed By: xavierd Differential Revision: D25934694 fbshipit-source-id: c6c90ea2b517d4dbedce29d9a4340870c8c177c3 |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
EdenStats.cpp | ||
EdenStats.h | ||
LogEvent.cpp | ||
LogEvent.h | ||
NullStructuredLogger.h | ||
RequestMetricsScope.cpp | ||
RequestMetricsScope.h | ||
ScribeLogger.h | ||
ScubaStructuredLogger.cpp | ||
ScubaStructuredLogger.h | ||
SessionInfo.cpp | ||
SessionInfo.h | ||
StructuredLogger.cpp | ||
StructuredLogger.h | ||
StructuredLoggerFactory.cpp | ||
StructuredLoggerFactory.h | ||
SubprocessScribeLogger.cpp | ||
SubprocessScribeLogger.h | ||
TraceBus-inl.h | ||
TraceBus.h | ||
Tracing.cpp | ||
Tracing.h |