-
Notifications
You must be signed in to change notification settings - Fork 55
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
Place static header specific functionality in a separate module, static_header in metadata module #1573
Comments
@GuillaumeGomez I think that all possible preparations that can be made have been made. I think it should now be possible to split out the relevant parts of the |
I think it'll have to wait mi-november at best. We're in the middle of the conferences rush! :) |
Ok. Happy conferencing! |
@GuillaumeGomez Would you like to come back to this? If yes, great! If not, please let us know, and thanks for all the work that you have done! |
Completely slipped out of my mind... So yes, definitely! Don't hesitate to ping me if you don't see any updates, kinda busy trying to do multiple things at once. :3 |
Ok!, let me check and see what's next. |
Right, now I remember! All the prep work was done, and I thought now it should be possible to make a new file And thanks! |
Let's go for it then! |
Fixed by all the remaining attached issues. |
Goals:
BDA
implementation, these will need to be identified and moved.BDA::write
andBDA::save
are some of these.Procedure:
Many static header specific tests currently in the bda tests module make use of unnecessarily general BDA methods to set up their test condition. These should be changed so they make use of static header specific methods. An obvious example is thatOutdated.BDA::initialize
which initializes MDA headers is used, when all that is necessary isBDA::write
which only initializes the static headers.NOTE:
BDA::write
is static header specific functionality which should eventually be moved into the proposedstatic_header
module, but for this initial step, the best course is to leave it where it is.It should be possible to make this a separate PR.
You'll know when you're done when:
static_header
module is the only module which explicitly imports sizes::static_header_sizes.Component issues:
Reference:
https://stratis-storage.github.io/StratisSoftwareDesign.pdf, p.13 has a useful diagram of the metadata, helping to distinguish between the BDA, the MDA, the static header and the signature blocks.
The text was updated successfully, but these errors were encountered: