-
Notifications
You must be signed in to change notification settings - Fork 104
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
Refactor block_fs
file_node
#3555
Merged
Merged
Conversation
This file contains 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
eivindjahren
force-pushed
the
more_refactoring
branch
2 times, most recently
from
June 21, 2022 12:14
bda8241
to
6860ece
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
12 times, most recently
from
June 21, 2022 17:20
db7883b
to
befbdde
Compare
eivindjahren
changed the title
More refactoring
Refactor block_fs file_node to be a data transfer object
Jun 22, 2022
eivindjahren
force-pushed
the
more_refactoring
branch
13 times, most recently
from
June 22, 2022 10:59
3d3b297
to
509298a
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
3 times, most recently
from
June 22, 2022 17:31
d3160ce
to
45d21d9
Compare
eivindjahren
changed the title
Refactor block_fs file_node to be a data transfer object
Refactor block_fs file_node
Jun 22, 2022
eivindjahren
added
the
maintenance
Not a bug now but could be one day, repaying technical debt
label
Jun 22, 2022
eivindjahren
force-pushed
the
more_refactoring
branch
from
June 22, 2022 18:02
45d21d9
to
fd861b7
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
2 times, most recently
from
June 23, 2022 06:56
1732a22
to
6aaf231
Compare
This commit removes the `block_size` parameter, which pads each node to the nearest multiple of `block_size`. This was done so that it is possible to reuse free nodes, but we have removed node reuse, so this parameter is superfluous.
Codecov Report
@@ Coverage Diff @@
## main #3555 +/- ##
==========================================
- Coverage 65.00% 64.83% -0.17%
==========================================
Files 599 592 -7
Lines 46989 46632 -357
Branches 4210 4220 +10
==========================================
- Hits 30545 30235 -310
+ Misses 15065 15022 -43
+ Partials 1379 1375 -4
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
eivindjahren
force-pushed
the
more_refactoring
branch
2 times, most recently
from
June 23, 2022 07:10
cc8c252
to
84615df
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
2 times, most recently
from
June 23, 2022 09:19
0096a71
to
89e6988
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
from
June 23, 2022 09:28
89e6988
to
2902d26
Compare
eivindjahren
force-pushed
the
more_refactoring
branch
from
June 23, 2022 09:35
2902d26
to
28b6bcc
Compare
dafeda
approved these changes
Jun 23, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
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.
Builds on #3557 and refactors file_node to a handle the logic of reading and writing blocks.
Pre review checklist
Adding labels helps the maintainers when writing release notes. This is the list of release note labels.