mirror of
https://github.com/versity/scoutfs.git
synced 2026-06-07 04:02:34 +00:00
We were using a bitmap to record segments during manifest printing and then walking that bitmap to print segments. It's a little silly to have a second data structure record the referenced segments when we could just walk the manifest again to print the segments. So refactor node printing into a treap walker that calls a function for each node. Then we can have functions that print the node data structurs for each treap and then one that prints the segments that are referenced by manifest nodes. Signed-off-by: Zach Brown <zab@versity.com>