[block-ref-repair] rename rc's rc field to rc_table

This commit is contained in:
Alex Auvolat
2024-03-19 16:09:47 +01:00
parent dc0b78cdb8
commit 3165ab926c
4 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ impl BlockManager {
let metrics = BlockManagerMetrics::new(
config.compression_level,
rc.rc.clone(),
rc.rc_table.clone(),
resync.queue.clone(),
resync.errors.clone(),
);
@@ -387,7 +387,7 @@ impl BlockManager {
/// Get number of items in the refcount table
pub fn rc_len(&self) -> Result<usize, Error> {
Ok(self.rc.rc.len()?)
Ok(self.rc.rc_table.len()?)
}
/// Send command to start/stop/manager scrub worker