perf(ecstore): batch local EC shard preads on GET (#5679)

Collapse per-shard blocking-pool round-trips into one spawn_blocking
pread batch when all online shards are local and mmap-read is enabled.

Co-authored-by: ba <ba@ubuntu-server.alpha30.bos16>
Co-authored-by: Zhengchao An <anzhengchao@gmail.com>
This commit is contained in:
rdiperri-wasabi
2026-08-03 14:53:22 -07:00
committed by GitHub
parent 98d3619613
commit de8cb5f26c
5 changed files with 247 additions and 6 deletions
+4
View File
@@ -1088,6 +1088,10 @@ impl LocalDiskWrapper {
self.disk.clone()
}
pub fn get_object_path_if_local(&self, volume: &str, path: &str) -> crate::disk::error::Result<std::path::PathBuf> {
self.disk.get_object_path(volume, path)
}
pub fn runtime_state(&self) -> RuntimeDriveHealthState {
self.health.runtime_state()
}