/linux/fs/bcachefs/ |
H A D | fsck.h | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | subvolume.h | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | subvolume.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | backpointers.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | alloc_foreground.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | fsck.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | alloc_background.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | btree_gc.c | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
H A D | bcachefs.h | diff 067d228bb0c40542620398ef1d79f00f47c05cbb Fri Jul 07 08:42:28 CEST 2023 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Enumerate recovery passes
Recovery and fsck have many different passes/jobs to do, which always run in the same order - but not all of them run all the time. Some are for fsck, some for unclean shutdown, some for version upgrades.
This adds some new structure: a defined list of recovery passes that we can run in a loop, as well as consolidating the log messages.
The main benefit is consolidating the "should run this recovery pass" logic, as well as cleaning up the "this recovery pass has finished" state; instead of having a bunch of ad-hoc state bits in c->flags, we've now got c->curr_recovery_pass.
By consolidating the "should run this recovery pass" logic, in the future on disk format upgrades will be able to say "upgrading to this version requires x passes to run", instead of forcing all of fsck to run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|