mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix warnings and debug messages
This commit is contained in:
parent
9a41b18400
commit
4eec54620c
1 changed files with 3 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ impl PddbOs {
|
|||
self.fspace_cache.replace(pp);
|
||||
} else if pp.journal() == prev_pp.journal() {
|
||||
log::error!("got two identical journal revisions -- this shouldn't happen, prev: {:?}, candidate: {:?}", prev_pp, pp);
|
||||
log::error!("replacing the previous version with the candidate, but this might not be the right decision!");
|
||||
log::error!("replacing the previous version with the candidate! wish us luck.");
|
||||
self.fspace_cache.replace(pp);
|
||||
}
|
||||
} else {
|
||||
|
|
@ -987,8 +987,10 @@ impl PddbOs {
|
|||
pub fn fast_space_free(&mut self, pp: &mut PhysPage) {
|
||||
self.fast_space_ensure_next_log();
|
||||
// update the fspace cache
|
||||
log::debug!("fast_space_free pp incoming: {:?}/{}", pp, pp.journal());
|
||||
pp.set_space_state(SpaceState::Dirty);
|
||||
pp.set_journal(pp.journal() + 1);
|
||||
log::debug!("fast_space_free pp cloned: {:?}/{}", pp.clone(), pp.clone().journal());
|
||||
|
||||
// re-cycle the space into the fspace_cache
|
||||
self.fspace_cache.insert(pp.clone());
|
||||
|
|
|
|||
Loading…
Reference in a new issue