Skip to content

Allow loading filesystems with the recovery bit set #358

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

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

nicholasbishop
Copy link
Owner

@nicholasbishop nicholasbishop commented Dec 31, 2024

This is the final step of enabling journal support. Since the test filesystem can now be loaded, this PR also adds some tests.

#317

@nicholasbishop nicholasbishop changed the title Implement journal support wip: Implement journal support Dec 31, 2024
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 5 times, most recently from 008ceeb to 3db9cf5 Compare January 6, 2025 18:43
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 4 times, most recently from 7b4bda4 to f4fab76 Compare January 14, 2025 03:41
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 8 times, most recently from ecded87 to 8d74537 Compare January 22, 2025 00:38
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 9 times, most recently from 7800b72 to f3386ef Compare January 29, 2025 06:02
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 3 times, most recently from c0ba0a2 to 9e8574a Compare February 7, 2025 01:28
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 8 times, most recently from 392e4ca to 2b029b3 Compare February 15, 2025 20:14
@nicholasbishop nicholasbishop force-pushed the bishop-journal-3 branch 8 times, most recently from b45b6c8 to 0a6f392 Compare February 26, 2025 03:23
@nicholasbishop nicholasbishop changed the title wip: Implement journal support Implement journal support Feb 26, 2025
@nicholasbishop nicholasbishop changed the title Implement journal support Allow loading filesystems with the recovery bit set Feb 26, 2025
@nicholasbishop nicholasbishop marked this pull request as ready for review February 26, 2025 03:25
@@ -303,6 +303,8 @@ impl Ext4 {
})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps as a follow-up: augment this error to make it clear when the block index has been altered by the journal?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, filed #436

This fills in the `Journal` struct and implements the rest of the
`Journal::load` method.
This is the final step of enabling journal support. Since the test
filesystem can now be loaded, this commit also adds some tests.
@nicholasbishop nicholasbishop enabled auto-merge (rebase) February 26, 2025 20:57
@nicholasbishop nicholasbishop merged commit 864c64f into main Feb 26, 2025
11 checks passed
@nicholasbishop nicholasbishop deleted the bishop-journal-3 branch February 26, 2025 20:59
@tedbrandston tedbrandston mentioned this pull request Feb 27, 2025
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

Successfully merging this pull request may close these issues.

2 participants