aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-11 11:57:36 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-11 11:57:36 +0200
commit7f9ba49c7151a0c3c29fbe0b0208b4a1f1dfc1e8 (patch)
treefe4dc2919ea368ef307ffd7882bb82da816eeb75
parentde5d7921813ad84038053c96004ce617bc144722 (diff)
downloadgarage-multihdd.tar.gz
garage-multihdd.zip
block manager: remove data_dir fieldmultihdd
-rw-r--r--src/block/manager.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index ea70b19c..2d1b5c67 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -80,8 +80,6 @@ pub struct BlockManager {
/// Replication strategy, allowing to find on which node blocks should be located
pub replication: TableShardedReplication,
- /// Directory/ies in which block are stored
- pub data_dir: DataDirEnum,
/// Data layout
pub(crate) data_layout: ArcSwap<DataLayout>,
/// Data layout persister
@@ -169,7 +167,6 @@ impl BlockManager {
let block_manager = Arc::new(Self {
replication,
- data_dir,
data_layout: ArcSwap::new(Arc::new(data_layout)),
data_layout_persister,
data_fsync,