Commit Graph

11 Commits

Author SHA1 Message Date
John Elliott
c07bebc856 Move Throw.h from eden to edencommon
Summary:
To support better telemetry and logging in watchman we want to use Eden's components. Lets migrate and detangle the needed pieces.

This change moves Throw.h and it's related tests from eden to edencommon.

Reviewed By: genevievehelsel

Differential Revision: D54046153

fbshipit-source-id: 669d702c13e70536d9c0b58ff8ff17f826237851
2024-02-23 15:46:42 -08:00
Michael Cuevas
487d333d38 clarify NFS mount options on macOS
Summary: The comment was somewhat unclear. Expand on the soft vs hard choice and add a man page that future devs can reference to understand each option.

Reviewed By: genevievehelsel

Differential Revision: D52710081

fbshipit-source-id: 53bc2eae3799e775a8bbc5dad9bb99ca6e713632
2024-01-16 09:59:34 -08:00
Nikita Patskov
e2a08b0dab Remove explicit key
Summary: Title

Reviewed By: jbardini

Differential Revision: D51813530

fbshipit-source-id: dd472fd3fc937568a1c1b214faa6504878a6c116
2023-12-04 10:03:02 -08:00
generatedunixname89002005287564
08d6a097c9 eden (7547650190731062666)
Reviewed By: xavierd

Differential Revision: D51107904

fbshipit-source-id: ff8dbf0f085d59d464c37e03d68a7d8a99913204
2023-11-08 17:55:00 -08:00
Facebook GitHub Bot
df8fba6e6d Re-sync with internal repository
The internal and external repositories are out of sync. This Pull Request attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.
2023-10-11 22:09:00 -07:00
generatedunixname89002005287564
2b0c5c91b5 eden (8723986740789461110)
Reviewed By: xavierd

Differential Revision: D50003020

fbshipit-source-id: bf39019de332570f7d2aecfd15281b462a1df40e
2023-10-06 17:24:10 -07:00
Chad Austin
6c8c2ed747 clang-tidy advice
Summary:
clang-tidy had some automated suggestions for our code. Apply the ones
that make sense.

Some of them didn't, like removal of all uses of `volatile`. I
manually reverted those changes.

Reviewed By: genevievehelsel

Differential Revision: D41051052

fbshipit-source-id: 3fe22a91e929d3bb8e6346126c2c7bf9f027eb32
2023-07-13 16:30:55 -07:00
Chad Austin
c508cc8302 use the same PrivHelper interface on all platforms
Summary:
We already had a pretend PrivHelper on Windows. Remove the stub
methods on Windows and provide a Windows implementation of PrivHelper
where most methods are no-ops but the mounts throw a NOT_IMPLEMENTED
error.

Reviewed By: kmancini

Differential Revision: D45260187

fbshipit-source-id: 87ca8679947372e484c345acdd708a17dbb8235e
2023-05-17 09:07:32 -07:00
Chad Austin
bd050e06b3 remove the config setting for using our custom kext on macOS
Summary:
We don't have a kext on macOS anymore, so we can remove the
configuration setting that enables it.

If we ever build our own kernel module on Linux, we can bring this back.

Reviewed By: kmancini

Differential Revision: D45260142

fbshipit-source-id: 6f99bdfb3fce236b7a17a665818327f00b5884c0
2023-05-11 18:29:21 -07:00
Chad Austin
73f384fe02 privhelper no longer needs to include sys/wait.h
Summary:
We use SpawnedProcess on all platforms to start the privhelper, so we no longer
need to include sys/wait.h. This removes a conditional #include.

Reviewed By: genevievehelsel

Differential Revision: D45259880

fbshipit-source-id: dd54c60c13e34fc819eec4c4143e3c7da37329b0
2023-05-11 18:29:21 -07:00
Chad Austin
779cee2f1a privhelper is no longer FUSE-specific, so move it to fs/
Summary:
We use privhelper for NFS too, so move fs/fuse/privhelper into
fs/privhelper.

Reviewed By: kmancini

Differential Revision: D45243273

fbshipit-source-id: cfc93b324768809c87075b0085905e873c7ea88d
2023-05-11 18:29:21 -07:00