sapling/eden/win/fs
Chad Austin fe557ace7c only evict when interest handle is dropped if blob wasn't reloaded
Summary:
There was a bug in BlobCache where, if you had an interest handle to a
blob, but that blob was evicted anyway and then something else caused
it to be reloaded, dropping your interest handle would cause the blob
to be incorrectly evicted since the reference counts were no longer
compatible. Add a version to cache items and only decrement the
reference count on an item if the interest handle and item agree.

Reviewed By: strager

Differential Revision: D13405144

fbshipit-source-id: aee052bf777e7225551c3ae2b8b69a99f4f77691
2018-12-10 19:30:28 -08:00
..
mount Create Eden Mount on Windows 2018-12-04 18:14:48 -08:00
service Cleaning up the test code from main(). 2018-12-04 18:14:48 -08:00
store Adding an abstraction layer on the backing store to handle the Windows path conversion. 2018-11-26 08:19:47 -08:00
utils Adding Eden dispatcher on Windows to handle the FS operations. 2018-12-04 15:35:29 -08:00
edenfs.vcxproj only evict when interest handle is dropped if blob wasn't reloaded 2018-12-10 19:30:28 -08:00
edenfs.vcxproj.filters Create Eden Mount on Windows 2018-12-04 18:14:48 -08:00
Edenwin.h Win: Restructured the Windows code to align with the eden code layout 2018-09-28 13:14:11 -07:00