sapling/eden/fs/prjfs
Katie Mancini dfcc656491 invalidate after a torn read so the file is accessible
Summary:
All future reads to these files will error until the file metadata caches
are cleared. This diff triggers a delayed invalidation after a file is
read with the incorrect size. This makes the file accessible again.
It's possible (though it doesn't always happen) that EdenFS's internal state
could be inocorrect for the file. a future `eden doctor` run will be able
to fix it up.

Reviewed By: MichaelCuevas

Differential Revision: D52278628

fbshipit-source-id: 580746bb91d21c79f87d16d5e442843617ac779c
2024-02-22 19:34:50 -08:00
..
CMakeLists.txt common: rename utils -> edencommon_utils 2022-08-16 11:23:53 -07:00
Enumerator.cpp symlinks: make EdenFS able to deal with directory symlinks 2023-08-01 13:59:20 -07:00
Enumerator.h symlinks: make EdenFS able to deal with directory symlinks 2023-08-01 13:59:20 -07:00
PrjfsChannel.cpp invalidate after a torn read so the file is accessible 2024-02-22 19:34:50 -08:00
PrjfsChannel.h invalidate after a torn read so the file is accessible 2024-02-22 19:34:50 -08:00
PrjfsDiskState.cpp Factor PrjFS on-disk state functions out of WindowsFsck 2023-10-27 14:53:17 -07:00
PrjfsDiskState.h Factor PrjFS on-disk state functions out of WindowsFsck 2023-10-27 14:53:17 -07:00
PrjfsDispatcher.cpp prjfs: keep mount alive during notification handling 2023-05-02 12:38:37 -07:00
PrjfsDispatcher.h symlinks: make symlinks appear on Windows on checkout 2023-07-14 08:42:03 -07:00
PrjfsRequestContext.h invalidate after a torn read so the file is accessible 2024-02-22 19:34:50 -08:00
TARGETS getFileData: don't crash if length is too long 2024-02-22 19:34:50 -08:00