sapling/eden/fs/inodes
Xavier Deguillard 97814429bc overlay: check if we're about to save an empty path
Summary:
On Windows, we've had a couple of cases where the overlay is corrupted which
prevent remounting EdenFS. In this case, one entry of a directory was an empty
path. Let's try to catch the error when it happens, instead of after the fact.

Reviewed By: wez

Differential Revision: D21443002

fbshipit-source-id: 47e59aee803cc0b4befd6e0585836d5c68e905b1
2020-05-07 17:56:52 -07:00
..
overlay use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
sqliteoverlay Sqlite Overlay for Inode support on Windows 2020-04-23 12:41:47 -07:00
test inodes: enable RenameTest on Windows 2020-05-05 18:14:55 -07:00
win win: change the argument order for writeFile 2020-05-05 18:14:54 -07:00
CacheHint.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CheckoutAction.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
CheckoutAction.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CheckoutContext.cpp Inode support on Windows 2020-04-01 14:53:30 -07:00
CheckoutContext.h count fetch statistics during diff and checkout 2020-02-05 16:05:29 -08:00
CMakeLists.txt eden: enable globFiles on windows 2020-04-24 15:57:27 -07:00
DeferredDiffEntry.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DeferredDiffEntry.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DirEntry.cpp Add mode_t size in DirEntry 2020-03-10 12:27:50 -07:00
DirEntry.h eden: make bitfield usage in DirEntry.h more portable 2020-03-20 10:56:07 -07:00
EdenDispatcher.cpp disallow setting suid, sgid, and sticky bits 2020-04-30 15:18:35 -07:00
EdenDispatcher.h Track readlink() requests during checkout and status 2020-03-06 11:58:25 -08:00
EdenMount.cpp eden: implement getFileInformation on windows 2020-04-28 22:10:15 -07:00
EdenMount.h clean up EdenMount destruction process 2020-04-28 12:44:12 -07:00
EdenMountError.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FileInode.cpp win: change the argument order for writeFile 2020-05-05 18:14:54 -07:00
FileInode.h eden: implement getFileInformation on windows 2020-04-28 22:10:15 -07:00
GlobNode.cpp collectX to collectUnsafe 2020-03-10 11:36:09 -07:00
GlobNode.h use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
InodeBase.cpp eden: implement getFileInformation on windows 2020-04-28 22:10:15 -07:00
InodeBase.h eden: implement getFileInformation on windows 2020-04-28 22:10:15 -07:00
InodeError.cpp Make errnoStr return std::string instead of fbstring 2020-03-10 10:50:44 -07:00
InodeError.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeLoader.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeMap.cpp use uint32_t for UnloadedInode::numFuseReferences 2020-04-28 10:14:55 -07:00
InodeMap.h use uint32_t for UnloadedInode::numFuseReferences 2020-04-28 10:14:55 -07:00
InodeMetadata.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodePtr-defs.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodePtr.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
InodePtr.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodePtrFwd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeTable.h make deleted default constructors explicit 2020-04-14 12:47:03 -07:00
InodeTimestamps.cpp Inode support on Windows 2020-04-01 14:53:30 -07:00
InodeTimestamps.h Inode support on Windows 2020-04-01 14:53:30 -07:00
Overlay.cpp overlay: check if we're about to save an empty path 2020-05-07 17:56:52 -07:00
Overlay.h Sqlite Overlay for Inode support on Windows 2020-04-23 12:41:47 -07:00
OverlayFile.cpp support closing the Overlay class even if it is still in use 2019-11-11 10:56:15 -08:00
OverlayFile.h fix flakiness in RawOverlayTest.closed_overlay_stress_test 2020-01-27 18:17:01 -08:00
OverlayFileAccess.cpp refactor OverlayFileAccess errors 2019-11-06 18:24:58 -08:00
OverlayFileAccess.h refactor OverlayFileAccess errors 2019-11-06 18:24:58 -08:00
ParentInodeInfo.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ServerState.cpp eden: fix Windows build 2020-05-04 11:53:33 -07:00
ServerState.h eden: fix Windows build 2020-05-04 11:53:33 -07:00
TreeInode.cpp service: enable several service handlers 2020-05-07 09:52:18 -07:00
TreeInode.h eden: implement getFileInformation on windows 2020-04-28 22:10:15 -07:00
TreePrefetchLease.cpp limit the number of tree prefetch operations that can run in parallel 2019-12-20 16:14:19 -08:00
TreePrefetchLease.h limit the number of tree prefetch operations that can run in parallel 2019-12-20 16:14:19 -08:00