diff --git a/foyer-storage/src/small/flusher.rs b/foyer-storage/src/small/flusher.rs index ed95eb02..12da1e37 100644 --- a/foyer-storage/src/small/flusher.rs +++ b/foyer-storage/src/small/flusher.rs @@ -20,7 +20,6 @@ use foyer_common::{ }; use foyer_memory::CacheEntry; use futures::future::try_join_all; - use tokio::sync::{oneshot, OwnedSemaphorePermit, Semaphore}; use super::{ diff --git a/foyer-storage/src/small/generic.rs b/foyer-storage/src/small/generic.rs index e124ed87..00cb8e47 100644 --- a/foyer-storage/src/small/generic.rs +++ b/foyer-storage/src/small/generic.rs @@ -27,6 +27,7 @@ use foyer_memory::CacheEntry; use futures::{future::join_all, Future}; use itertools::Itertools; +use super::flusher::Submission; use crate::{ device::{MonitoredDevice, RegionId}, error::Result, @@ -35,8 +36,6 @@ use crate::{ DeviceStats, Runtime, }; -use super::flusher::Submission; - pub struct GenericSmallStorageConfig where K: StorageKey,