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,
|
||||
num_workers,
|
||||
progress_bar,
|
||||
true,
|
||||
)?;
|
||||
|
||||
info!("Stored!");
|
||||
|
|
|
@ -71,7 +71,6 @@ pub fn chunking<R: Read + Send + 'static, W: Write + Send + 'static>(
|
|||
parent,
|
||||
get_number_of_workers("YAMA_CHUNKERS"),
|
||||
progress_bar,
|
||||
true,
|
||||
)?;
|
||||
|
||||
for join_handle in requester_join_handles {
|
||||
|
@ -169,7 +168,6 @@ pub fn chunking_stdio() -> anyhow::Result<()> {
|
|||
parent,
|
||||
get_number_of_workers("YAMA_CHUNKERS"),
|
||||
&mut progress_bar,
|
||||
true,
|
||||
)?;
|
||||
|
||||
requester_join_handles
|
||||
|
|
|
@ -255,7 +255,6 @@ pub fn store_fully<PT: ProgressTracker>(
|
|||
differentiate_node_in_place(&mut root_node, &parent_node.node)?;
|
||||
}
|
||||
|
||||
if use_pipelined_storage {
|
||||
// TODO make these configurable
|
||||
let sps = StoragePipelineSettings {
|
||||
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() {
|
||||
// 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 gid_lookup = BTreeMap::new();
|
||||
|
|
Loading…
Reference in New Issue