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

Reserve large fixed-size flat address spaces as files #692

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
758f006
Flat storage reservation stub
kaetemi May 31, 2022
2a51c42
Function to attempt allocating a continuous sequence of blocks
kaetemi Jun 1, 2022
66a1b9f
Add a traversal based allocation strategy for large continuous block …
kaetemi Jun 1, 2022
90a13b3
Only abort gobble on collision
kaetemi Jun 1, 2022
87fc38e
Fix warning
kaetemi Jun 1, 2022
722c440
Set the block variable upon opening a flat file
kaetemi Jun 1, 2022
508ff55
Adjust flat file type value
kaetemi Jun 1, 2022
d43e82a
Remove inline flag when reserving flat file
kaetemi Jun 1, 2022
b69ee63
Inline cannot be flagged when flat is flagged
kaetemi Jun 1, 2022
8e64d6d
Adjust flat flag value
kaetemi Jun 1, 2022
1ab7880
Include opened flat files in the traversal
kaetemi Jun 1, 2022
d60642e
Don't allocate past the end after the traversal already cycled
kaetemi Jun 1, 2022
b0dcd53
Add a proper API to get the reserved block and to flag writing errors
kaetemi Jun 1, 2022
2b82e69
Check for errors when getting the block
kaetemi Jun 1, 2022
efb7272
Additional reservation options
kaetemi Jun 1, 2022
ff1e46b
Test cases for flat address space reservations
kaetemi Jun 1, 2022
55fe30e
Ack allocator when freeing a reserved area
kaetemi Jun 1, 2022
ba098ce
More repetitions of random reserve test
kaetemi Jun 1, 2022
1ec2be9
Better test output
kaetemi Jun 1, 2022
843048f
Reset cache when out of space during gobble
kaetemi Jun 2, 2022
ea34efe
Only move the allocator cache after a large allocation if it intersects
kaetemi Jun 2, 2022
3ca519a
Test growing and shrinking a reserved area
kaetemi Jun 2, 2022
d92b381
Only allow creating flat file reservations if the reported disk versi…
kaetemi Jun 2, 2022
42ee027
Reverting disk version for testing purpose
kaetemi Jun 2, 2022
fe00247
When fragmented, if there is sufficient space, test that at least one…
kaetemi Jun 2, 2022
7cec7ac
Rename overwrite to truncate, add new overwrite and copy flags
kaetemi Jun 2, 2022
229cf5f
Option to allow overwriting committed allocation
kaetemi Jun 2, 2022
3e170da
Reservation copy function stub
kaetemi Jun 2, 2022
0486ca6
Add some comments
kaetemi Jun 2, 2022
875221d
Option to copy previous contents when reserving a flat file
kaetemi Jun 3, 2022
ca68eb9
Set some random flags in the tests
kaetemi Jun 3, 2022
0f0cad3
Allocate a whole block in the test, and apply the flags again
kaetemi Jun 3, 2022
b919c69
Fix front allocation
kaetemi Jun 3, 2022
bd8d7bb
Always move lookahead cache after flat allocation when doing front al…
kaetemi Jun 5, 2022
45282ea
Format disk with base version and write incremented version only when…
kaetemi Jun 13, 2022
a55fc2d
Test disk version update
kaetemi Jun 13, 2022
79a5155
Return invalid arg error when updating version fails
kaetemi Jun 13, 2022
d104063
Only run the copy flag once per round
kaetemi Jul 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading