init metacache io

This commit is contained in:
weisd
2024-12-05 17:40:55 +08:00
committed by weisd
parent 0cf7c19b96
commit 25e3807428
10 changed files with 330 additions and 33 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ impl DiskAPI for RemoteDisk {
Ok(response.volumes)
}
async fn walk_dir(&self, opts: WalkDirOptions) -> Result<Vec<MetaCacheEntry>> {
async fn walk_dir(&self, opts: WalkDirOptions, wr: crate::io::Writer) -> Result<Vec<MetaCacheEntry>> {
info!("walk_dir");
let walk_dir_options = serde_json::to_string(&opts)?;
let mut client = node_service_time_out_client(&self.addr)