refactor: retire root storage compat facade (#3708)

This commit is contained in:
安正超
2026-06-22 07:06:08 +08:00
committed by GitHub
parent c13f42e9a0
commit 1b718498f4
35 changed files with 523 additions and 297 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use crate::storage_compat::DiskAPI;
use super::storage_compat::CapacityDiskExt as _;
use rustfs_io_metrics::capacity_metrics::{
record_capacity_cache_hit, record_capacity_cache_miss, record_capacity_cache_served, record_capacity_refresh_request,
record_capacity_scan_mode,
@@ -263,7 +263,7 @@ pub async fn init_capacity_management_for_local_disks() {
"Capacity manager state changed"
);
let disks = crate::storage_compat::all_local_disk().await;
let disks = super::storage_compat::all_local_disk().await;
if disks.is_empty() {
warn!(
component = LOG_COMPONENT_CAPACITY,