Christopher Haster a3734eeb34 Added proper handling of orphans
Unfortunately, threading all dir blocks in a linked-list did
not come without problems.

While it's possible to atomically add a dir to the linked list
(by adding the new dir into the linked-list position immediately
after it's parent, requiring only one atomic update to the parent
block), it is not easy to make sure the linked-list is in a state
that always allows atomic removal of dirs.

The simple solution is to allow this non-atomic removal, with an
additional step to remove any orphans that could have been created
by a power-loss. This deorphan step is only run if the normal
allocator has failed.
2017-04-18 01:44:01 -05:00
2017-04-18 01:44:01 -05:00
2017-04-18 01:44:01 -05:00
2017-03-25 19:23:30 -05:00
2017-04-18 01:44:01 -05:00
Description
No description provided
2.1 MiB
Languages
C 62.9%
Python 36%
Makefile 1.1%