-
Notifications
You must be signed in to change notification settings - Fork 156
HelenRAID #256
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
Draft
mcimerman
wants to merge
331
commits into
HelenOS:master
Choose a base branch
from
mcimerman:helenraid-draft
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
HelenRAID #256
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Read block on first iteration directly to xorbuf. This way one memset and one xor is saved.
Also prepare the metadata for metada versioning and sync counter.
Removes whole raid4.c, as RAID4 is implemented via RLQs in RAID5.
This fibril pool allows execution of grouped work units, providing pre-allocated storage for the workers. Based on an idea from Vojtech Horky.
And test if all workers finished against submitted rather than started workers count, thus remove hr_fgroup_t.wus_started.
Even if not allowing rebuild operation to happen, we still must take rebuilt extents into account, because writes below the resync_offset must be done like in ONLINE state.
First - take first usable extent. Closest - take extent with last seek position. Round-robin - always switch extents. Split - split I/O to multiple extents.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HelenRAID
Part of bachelor thesis ``Sofware RAID for HelenOS".
For implementation details and architecture, please refer to Chapter 3 of the thesis text (page 44).
This PR includes:
This PR does not yet include:
Todo list
This is just a list of things I would like to do before HelenRAID gets merged.
hr
(server) andhrctl
(utility) toraid
(server) andraidctl
(utility)Feel free to suggest additional changes or modifications.
Try it
Easiest way to try HelenRAID is to checkout this branch used to "ship" HelenRAID for the thesis.
I have written extensive instructions on how can one try and test HelenRAID. For these, please refer to Appendix D of the thesis text, specifically:
The for the control utility (hrctl) documentation, please refer to Appendix C of the thesis text.