mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
d003f7f52b
Summary: Update the Overlay class to hold a lock on the info file inside the overlay for as long as it exists. This just adds an extra layer to help ensure that two separate edenfs processes are not operating on the same overlay directory at the same time. We already hold a lock on the .eden directory itself, which generally should be sufficient protection, since overlay directories are always scoped to a .eden directory. However, adding a per-Overlay lock will help ensure that we do not have issues where we try to open an Overlay directory twice, particularly when remounting an existing mount point that we just closed. Differential Revision: D5326023 fbshipit-source-id: eb8b213225b8d6905a982db0bfac73a17d1bd246 |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
DEFS |