sapling/eden/fs
Chad Austin f6b3196b58 introduce EdenMountHandle
Summary:
Asynchronous operations that must ensure an EdenMount (and its root)
are usable for the duration must hold a reference to the root's
InodePtr, even if they only need the EdenMount.

To make this relationship less implicit, introduce an EdenMountHandle
which is effectively the same as the previous
`pair<EdenMountPtr, TreeInodePtr>`, but more clearly documents the intent
is to preserve the usability of EdenMount and its root inode.

This also allows us to decouple that relationship in the future,
should we want to.

For now, only use EdenMountHandle in getMountPoints. Next, I'll switch
`getMount` to use it.

Reviewed By: kmancini

Differential Revision: D45830176

fbshipit-source-id: 832dd96b9a6fe04fabbb5af0ecbed0173f9d2a2b
2023-05-16 15:26:07 -07:00
..
benchmarks Update libc-0.2.137 to libc-0.2.139 2023-02-12 16:30:00 -08:00
cli fix a typo and clean up some grammar in eden rm 2023-05-14 10:47:25 -07:00
cli_rs Error if user passes empty --config-dir to edenfsctl 2023-05-08 10:36:51 -07:00
config remove the config setting for using our custom kext on macOS 2023-05-11 18:29:21 -07:00
digest teach autodeps about blake3.h 2023-04-18 19:18:17 -07:00
docs Grammar Update 2023-04-07 13:52:25 -07:00
fuse privhelper is no longer FUSE-specific, so move it to fs/ 2023-05-11 18:29:21 -07:00
inodes inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00
journal port JournalDelta to use match 2023-05-11 11:10:01 -07:00
model silence a GCC warning 2023-05-11 14:49:34 -07:00
monitor utils: deny building an AbsolutePath from a literal 2022-11-22 16:20:30 -08:00
nfs move waitForPendingWrites into FsChannel 2023-05-11 11:55:24 -07:00
notifications E-Menu: avoid crashing due to WndProc failures 2023-04-28 15:19:07 -07:00
privhelper remove the config setting for using our custom kext on macOS 2023-05-11 18:29:21 -07:00
prjfs move waitForPendingWrites into FsChannel 2023-05-11 11:55:24 -07:00
py remove the dead Cython-based Thrift client 2023-05-04 10:53:12 -07:00
rocksdb use fmt in rocksdb 2022-11-11 18:46:15 -08:00
scripts replace force-unmount-tmp and force-unmount-all with a Python script 2023-05-03 11:53:45 -07:00
service introduce EdenMountHandle 2023-05-16 15:26:07 -07:00
sqlite remove all but one inclusion of folly/String.h in headers 2023-05-11 11:10:01 -07:00
store inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00
takeover fbcode/eden/ 2023-05-10 16:16:04 -07:00
telemetry remove all but one inclusion of folly/String.h in headers 2023-05-11 11:10:01 -07:00
testharness privhelper is no longer FUSE-specific, so move it to fs/ 2023-05-11 18:29:21 -07:00
third-party Remove runtime check for macFUSE rename ABI 2023-01-20 08:50:47 -08:00
utils remove all but one inclusion of folly/String.h in headers 2023-05-11 11:10:01 -07:00
Cargo.toml Vendor v0.8.4 with fix in multi_call 2023-05-11 11:33:10 -07:00
CMakeLists.txt privhelper is no longer FUSE-specific, so move it to fs/ 2023-05-11 18:29:21 -07:00