Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of the complicated New Free Tree module #67

Open
m-stein opened this issue Aug 13, 2020 · 0 comments
Open

Get rid of the complicated New Free Tree module #67

m-stein opened this issue Aug 13, 2020 · 0 comments

Comments

@m-stein
Copy link

m-stein commented Aug 13, 2020

The module currently used for the allocation of Physical Block Addresses on Copy-On-Write in the Virtual Block Device is called New Free Tree module. Unfortunately, this module's implementation ignores the module design of the CBE at some points and uses an approach with an abstraction of stacks of tree nodes that is hard to understand and adapt. I want to get rid of the somewhat superfluous and obstructive stack abstraction and concentrate the core logic of the module to the call of the Execute procedure (as with most of the modules). With the Free Tree Resizing module, there exists already a design-conforme base for this work that brings most of the state required for parsing the Free Tree. So, my approach is to move the allocation operation to this module and then remove the New Free Tree module from the CBE.

This change is a preparation for a systematic optimization of how the Free Tree module allocates blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant