aboutsummaryrefslogtreecommitdiff
path: root/src/block/manager.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-19 16:09:47 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-19 16:20:22 +0100
commit3165ab926c665b795eab7a227f65a67a0874641e (patch)
treedcf7b05e831bf4f5b5d96d901954cb58c5987844 /src/block/manager.rs
parentdc0b78cdb88e9cbfd7dc1a2ee0b15333939be549 (diff)
downloadgarage-3165ab926c665b795eab7a227f65a67a0874641e.tar.gz
garage-3165ab926c665b795eab7a227f65a67a0874641e.zip
[block-ref-repair] rename rc's rc field to rc_table
Diffstat (limited to 'src/block/manager.rs')
-rw-r--r--src/block/manager.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index 628ffc71..8ee33096 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -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