Remove non-pipelined storage
This commit is contained in:
parent
d82176075a
commit
23b352f936
|
@ -202,7 +202,6 @@ pub fn backup_source_to_destination<PT: ProgressTracker>(
|
||||||
parent,
|
parent,
|
||||||
num_workers,
|
num_workers,
|
||||||
progress_bar,
|
progress_bar,
|
||||||
true,
|
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
info!("Stored!");
|
info!("Stored!");
|
||||||
|
|
|
@ -71,7 +71,6 @@ pub fn chunking<R: Read + Send + 'static, W: Write + Send + 'static>(
|
||||||
parent,
|
parent,
|
||||||
get_number_of_workers("YAMA_CHUNKERS"),
|
get_number_of_workers("YAMA_CHUNKERS"),
|
||||||
progress_bar,
|
progress_bar,
|
||||||
true,
|
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
for join_handle in requester_join_handles {
|
for join_handle in requester_join_handles {
|
||||||
|
@ -169,7 +168,6 @@ pub fn chunking_stdio() -> anyhow::Result<()> {
|
||||||
parent,
|
parent,
|
||||||
get_number_of_workers("YAMA_CHUNKERS"),
|
get_number_of_workers("YAMA_CHUNKERS"),
|
||||||
&mut progress_bar,
|
&mut progress_bar,
|
||||||
true,
|
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
requester_join_handles
|
requester_join_handles
|
||||||
|
|
|
@ -255,7 +255,6 @@ pub fn store_fully<PT: ProgressTracker>(
|
||||||
differentiate_node_in_place(&mut root_node, &parent_node.node)?;
|
differentiate_node_in_place(&mut root_node, &parent_node.node)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if use_pipelined_storage {
|
|
||||||
// TODO make these configurable
|
// TODO make these configurable
|
||||||
let sps = StoragePipelineSettings {
|
let sps = StoragePipelineSettings {
|
||||||
num_compressors: get_number_of_workers("YAMA_PL_COMPRESSORS") as u32,
|
num_compressors: get_number_of_workers("YAMA_PL_COMPRESSORS") as u32,
|
||||||
|
@ -281,15 +280,6 @@ pub fn store_fully<PT: ProgressTracker>(
|
||||||
while let Ok(_) = control_rx.recv() {
|
while let Ok(_) = control_rx.recv() {
|
||||||
// TODO nothing for now.
|
// TODO nothing for now.
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
store(
|
|
||||||
&root_dir,
|
|
||||||
&mut root_node,
|
|
||||||
pile.as_ref(),
|
|
||||||
progress_bar,
|
|
||||||
num_workers,
|
|
||||||
)?;
|
|
||||||
}
|
|
||||||
|
|
||||||
let mut uid_lookup = BTreeMap::new();
|
let mut uid_lookup = BTreeMap::new();
|
||||||
let mut gid_lookup = BTreeMap::new();
|
let mut gid_lookup = BTreeMap::new();
|
||||||
|
|
Loading…
Reference in New Issue