mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-24 09:02:58 +00:00
The bit tracking code was a bit much (HA). It introduced a lot of complexity just to provide a way to migrate blocks from the old half of the ring into the current half of the ring. We can get rid of a ton of code and potential for bugs if we simply store a persistent migration key in the super and use it to sweep the tree looking for old blocks to dirty. A simple tree walk that dirties and returns the next key is all we need. Signed-off-by: Zach Brown <zab@versity.com>