connor / loot

connor/loot

Changes touching this path

  • a stale store lock is now judged, removed and taken again only under a kernel lock on a breaker file beside it, which the kernel lets go when its holder exits and nothing removes, for pack.lock and for the shared store and op-log locks alike; the old .break lock could have two holders, because a waiter renamed a live breaker file aside to judge its age and another took the free name before it was linked back, and then both breakers judged the crashed lock stale and the later removed the lock the earlier had just taken; the stress test now pauses each racer between judging and removing and counts holders at once for both lock kinds, and went red on the old code 10 of 10 runs for each kind (0 passed, 1 failed), and red with the breaker lock dropped (0 passed, 1 failed) and with no second judgment under it (0 passed, 1 failed); it is green 50 of 50 runs of the loot-core suite under nextest at 36 threads, which reproduced the old failure 1 of 30, and the suite is green (2258 passed, 0 failed) (wrqoxuvx) 095d91e7 · dbf3dbe6…

Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.