sapling/eden
Adam Simpkins d003f7f52b hold a lock on each overlay directory
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
2017-06-30 19:10:53 -07:00
..
cli Integration Test for UnnloadFreeInodes 2017-06-22 22:38:47 -07:00
docs update logging statements to use folly logging APIs 2017-06-22 13:50:13 -07:00
facebook codemod: format TARGETS with buildifier [4/5] (D5092623) 2017-06-01 17:52:40 -07:00
fs hold a lock on each overlay directory 2017-06-30 19:10:53 -07:00
hooks codemod: format TARGETS with buildifier [4/5] (D5092623) 2017-06-01 17:52:40 -07:00
integration update dummy_copymap to work with latest upstream mercurial 2017-06-26 13:20:26 -07:00
DEFS move eden/fs/cli to eden/cli 2017-04-14 11:39:01 -07:00