sapling/eden/fs
Michael Cuevas 26ae74fb1d add thrift endpoint for querying file attributes in bulk
Summary:
update thrift interface to include a function that returns attributes for a given list of files.

to support this, we add several structures that define the functions parameters and return type.

- FileAttributes: a "bitmask" enum. Each attribute is a power of 2 to enable bitwise ORing attributes together to decide which attributes to fetch from files.
- FileAttributeData: struct to hold the attributes of an individual file
- FileAttributeDataOrError: union that is either a FileAttributeData or EdenError thrown when accessing the file attributes
- GetAttributesFromFilesParameters: self explanatory.
- GetAttributesFromFilesResult: self explanatory. Map of file -> FileAttributeDataOrError
- getAttributesFromFile(): actual function that will be implemented in EdenServiceHandler.cpp

Reviewed By: chadaustin

Differential Revision: D32155168

fbshipit-source-id: 6dd768f3bcee1e32a2362df231feebfb1297dbf6
2021-11-17 11:31:25 -08:00
..
benchharness config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
benchmarks benchmark filesystem based xattr calls 2021-11-02 17:42:49 -07:00
cli suppress errors in fbcode/eden - batch 1 2021-11-16 12:54:39 -08:00
cli_rs cli_rs: Re-use humantime util 2021-11-12 09:23:27 -08:00
config read aux data from hg cache 2021-11-15 13:56:46 -08:00
docs add a doc describing our use of Future types 2021-10-20 13:48:27 -07:00
fuse privhelper: sanity check every mount points 2021-11-02 09:01:19 -07:00
inodes inodes: add TreeInode::removeRecursively 2021-11-16 16:33:24 -08:00
journal Remove direct uses of gmock.h 2021-07-07 13:32:31 -07:00
model introduce new format for tree serialization [proxy hash removal 8/n] 2021-11-10 09:40:45 -08:00
monitor migrate from LockedPtr::getUniqueLock 2021-06-13 18:53:58 -07:00
nfs Adding AcceptInfo into connectionAccepted of AsyncSocket callback 2021-11-01 18:23:24 -07:00
notifications notifications: support Windows 2020-11-11 09:37:56 -08:00
prjfs prjfs: detach callbacks futures when not ready 2021-11-10 14:56:09 -08:00
py don't return eden-related error from low-level unix socket wrapper 2021-11-15 04:14:37 -08:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
scripts move eden/scripts/ into eden/fs/ 2020-11-04 18:29:49 -08:00
service add thrift endpoint for querying file attributes in bulk 2021-11-17 11:31:25 -08:00
sqlite overlay: use PersistentSqliteStatement in TreeOverlayStore 2021-03-15 12:01:48 -07:00
store do not recompute metadata if using aux data from hg 2021-11-15 13:56:47 -08:00
takeover Adding AcceptInfo into connectionAccepted of AsyncSocket callback 2021-11-01 18:23:24 -07:00
telemetry log FS trace events with HiveLogger 2021-09-02 10:32:03 -07:00
testharness inodes: add an ObjectFetchContext argument to EdenMount::getRootTree 2021-11-03 15:06:56 -07:00
third-party fs: update fuse_kernel_linux.h 2021-03-17 20:55:43 -07:00
utils eden/fs/utils/test/Utf8Test.cpp: fix platform010-exposed build errors 2021-11-16 21:10:13 -08:00
CMakeLists.txt cmake: build edenfsctl Rust 2021-09-29 10:02:09 -07:00