nix-super/tests/overlay-local-store
Ben Radford 6a8de4c9dc Avoid enumerating entire overlay store dir upfront.
As an optimisation for LocalStore, we read all the store directory entries into
a set. Checking for membership of this set is much faster than a stat syscall.
However for LocalOverlayStore, the lower store directory is expected to contain
a vast number of entries and reading them all can take a very long time.

So instead of enumerating them all upfront, we call pathExists as needed. This
means making stat syscalls for each store path, but the upper layer is expected
to be relatively small compared to the lower store so that should be okay.
2023-08-01 12:48:02 +01:00
..
add-lower-inner.sh Define storeBRoot variable distinct from storeB URI. 2023-07-20 11:03:41 +01:00
add-lower.sh Paths added to lower store are accessible via overlay. 2023-07-20 10:42:38 +01:00
bad-uris.sh Define storeBRoot variable distinct from storeB URI. 2023-07-20 11:03:41 +01:00
build-inner.sh Add unset to NIX_STORE_DIR for local-overlay tests 2023-07-13 14:39:46 -05:00
build.sh Split tests some more 2023-05-15 23:11:17 -04:00
check-post-init-inner.sh Define storeBRoot variable distinct from storeB URI. 2023-07-20 11:03:41 +01:00
check-post-init.sh Split tests some more 2023-05-15 23:11:17 -04:00
common.sh Extend verify test to check that repair is supported. 2023-07-25 13:33:37 +01:00
delete-duplicate-inner.sh Rename test to delete-duplicate. 2023-07-26 16:01:20 +01:00
delete-duplicate.sh Rename test to delete-duplicate. 2023-07-26 16:01:20 +01:00
delete-refs-inner.sh Give test a more specific name 2023-07-26 09:50:31 -04:00
delete-refs.sh Give test a more specific name 2023-07-26 09:50:31 -04:00
gc-inner.sh Adopt GC test for local-overlay store 2023-07-24 18:14:12 -04:00
gc.sh Adopt GC test for local-overlay store 2023-07-24 18:14:12 -04:00
local.mk Merge branch 'overlayfs-store' into delete 2023-07-26 12:01:08 -04:00
optimise-inner.sh Fix unbound variable error in optimise test. 2023-07-20 11:27:41 +01:00
optimise.sh Add test for store optimise path deduplication. 2023-07-20 10:42:39 +01:00
redundant-add-inner.sh Define storeBRoot variable distinct from storeB URI. 2023-07-20 11:03:41 +01:00
redundant-add.sh Split tests some more 2023-05-15 23:11:17 -04:00
remount.sh Update tests/overlay-local-store/remount.sh 2023-07-26 16:01:20 +01:00
verify-inner.sh Avoid enumerating entire overlay store dir upfront. 2023-08-01 12:48:02 +01:00
verify.sh Add test for verifying overlay store. 2023-07-20 10:42:38 +01:00