sapling/eden/fs/inodes
John Elliott 42b0e1a9f9 Implement chown support for NFS
Summary:
Provided implementation for EdenMount::chown on NFS (MacOS). Utilized exisiting code to get all referencered Inodes and then loaded and invaliated them.

Ran into some issues compiling Ranges - something to learn more about - where certain iterator traits needed to be defined. In subsquent diff should be able to address (if desired), but for this diff just used a vector instead.

Reviewed By: MichaelCuevas

Differential Revision: D46946414

fbshipit-source-id: b405f16712d6d6315d43d6973e7615aced7e5c7d
2023-06-26 11:53:22 -07:00
..
fscatalog extend FsckTest to test SqliteOverlay 2023-05-25 13:50:56 -07:00
overlay Update autocargo component on FBS:master 2023-06-16 14:06:54 -07:00
sqlitecatalog tune some SQLite settings 2023-06-24 18:47:59 -07:00
test Add a possibility to configure the default blake3 key value 2023-06-23 14:58:01 -07:00
CacheHint.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
CheckoutAction.cpp migrate constructions of folly::exception_wrapper 2022-10-12 12:01:08 -07:00
CheckoutAction.h migrate constructions of folly::exception_wrapper 2022-10-12 12:01:08 -07:00
CheckoutContext.cpp decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
CheckoutContext.h inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00
CMakeLists.txt Adding blake3 support 2023-06-05 23:41:35 -07:00
DeferredDiffEntry.cpp store: add a fast path to compare blobs 2022-12-06 12:29:03 -08:00
DeferredDiffEntry.h inodes: make DeferredDiffEntry use ImmediatureFuture 2022-07-13 19:30:34 -07:00
DirEntry.cpp Rewrite removeRecursively to fast remove unloaded children if possible (try #3) 2022-06-16 16:06:54 -07:00
DirEntry.h avoid a copy in DirEntry::getHash 2022-08-31 14:57:46 -07:00
EdenDispatcherFactory.cpp allow mounting nfs mount 2023-04-06 13:00:32 -07:00
EdenDispatcherFactory.h allow mounting nfs mount 2023-04-06 13:00:32 -07:00
EdenMount.cpp Implement chown support for NFS 2023-06-26 11:53:22 -07:00
EdenMount.h fix a 'control reaches end of non-void function' warning 2023-05-16 20:14:36 -07:00
EdenMountError.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
EdenMountHandle.cpp move EdenMountHandle into its own sources 2023-05-18 09:44:50 -07:00
EdenMountHandle.h move EdenMountHandle into its own sources 2023-05-18 09:44:50 -07:00
FileInode.cpp Adding blake3 support 2023-06-05 23:41:35 -07:00
FileInode.h Adding blake3 support 2023-06-05 23:41:35 -07:00
FsChannel.h move waitForPendingWrites into FsChannel 2023-05-11 11:55:24 -07:00
FuseDispatcherImpl.cpp DirList -> {Fuse,Nfs}DirList 2023-04-05 16:35:43 -07:00
FuseDispatcherImpl.h decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
GlobNode.cpp inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00
GlobNode.h inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00
IFileContentStore.h add --force option to eden_fsck C++ binary 2023-04-10 15:32:12 -07:00
InodeBase.cpp rewrite readdir prefetching logic 2023-01-04 19:17:36 -08:00
InodeBase.h remove a conditional include 2023-05-18 09:44:50 -07:00
InodeCatalog.h extend FsckTest to test SqliteOverlay 2023-05-25 13:50:56 -07:00
InodeError.cpp port Path and PathPiece from folly::StringPiece to std::string_view 2022-11-16 18:09:51 -08:00
InodeError.h remove folly::Format PathError 2022-08-02 11:44:19 -07:00
InodeMap.cpp add an InodeBase::getObjectId accessor 2023-05-16 18:13:53 -07:00
InodeMap.h enable NFS detection earlier 2023-04-18 17:50:02 -07:00
InodeMetadata.cpp standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
InodeMetadata.h remove a conditional include 2023-05-18 09:44:50 -07:00
InodeNumber.cpp standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
InodeNumber.h fix the custom PathFuncs and ObjectId formatters 2022-10-04 21:42:44 -07:00
InodePtr-defs.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
InodePtr.cpp move function definitions for InodePtr takeOwnership to c++ file 2022-11-29 12:39:58 -08:00
InodePtr.h move function definitions for InodePtr takeOwnership to c++ file 2022-11-29 12:39:58 -08:00
InodePtrFwd.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
InodeTable.h fix linux gcc build 2023-02-01 16:14:11 -08:00
InodeTimestamps.cpp prjfs: set the timestamps when adding placeholders 2023-04-19 11:36:52 -07:00
InodeTimestamps.h prjfs: set the timestamps when adding placeholders 2023-04-19 11:36:52 -07:00
NfsDispatcherImpl.cpp inodes: on NFS filter AppleDouble from the Overlay 2023-04-21 08:33:34 -07:00
NfsDispatcherImpl.h inodes: on NFS filter AppleDouble from the Overlay 2023-04-21 08:33:34 -07:00
Overlay.cpp inodes: on NFS filter AppleDouble from the Overlay 2023-04-21 08:33:34 -07:00
Overlay.h move OverlayChecker into eden/fs/inodes/overlay 2023-05-25 10:10:08 -07:00
OverlayFile.cpp standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
OverlayFile.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
OverlayFileAccess.cpp Adding blake3 support 2023-06-05 23:41:35 -07:00
OverlayFileAccess.h Adding blake3 support 2023-06-05 23:41:35 -07:00
ParentInodeInfo.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
PathError.cpp Add new PathError to mimic InodeError's behavior with a raw path 2022-04-12 16:50:22 -07:00
PathError.h introduce an asString() on Path and PathPiece 2022-11-11 18:46:15 -08:00
PrjfsDispatcherImpl.cpp Add missing inodes in windows doctor 2023-06-09 11:52:50 -07:00
PrjfsDispatcherImpl.h Add missing inodes in windows doctor 2023-06-09 11:52:50 -07:00
RequestContext.cpp remove the reference-counting overhead from DurationScope 2023-03-24 13:50:40 -07:00
RequestContext.h remove the reference-counting overhead from DurationScope 2023-03-24 13:50:40 -07:00
ServerState.cpp remove some unnecessary includes from ServerState.h 2023-05-11 18:29:21 -07:00
ServerState.h remove some unnecessary includes from ServerState.h 2023-05-11 18:29:21 -07:00
Traverse.cpp inodes: fix infinite loop in traverseTreeInodeChildren 2022-03-10 15:32:32 -08:00
Traverse.h fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
TreeInode.cpp add an InodeBase::getObjectId accessor 2023-05-16 18:13:53 -07:00
TreeInode.h add an InodeBase::getObjectId accessor 2023-05-16 18:13:53 -07:00
TreePrefetchLease.cpp standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
TreePrefetchLease.h refactor ImportPriority 2022-11-15 16:23:30 -08:00
UnmaterializedBlobDirEntry.h remove some unnecessary includes from VirtualInode.h 2023-05-09 15:29:04 -07:00
UnmaterializedUnloadedBlobDirEntry.h minor VirtualInode refactoring 2023-05-11 11:10:01 -07:00
VirtualInode.cpp Expose blake3 via file attributes 2023-06-05 23:41:35 -07:00
VirtualInode.h Integrate with virtualInode 2023-06-05 23:41:35 -07:00
VirtualInodeLoader.h inodes: remove an implicit lifetime of ObjectStore 2023-05-15 15:34:14 -07:00