From 8f39d7510f52652f0650120b1e53e38aa657c63b Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 17 Sep 2026 14:21:55 +0000 Subject: [PATCH] feat: do not restart I/O when setting configured_addr --- src/config.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/config.rs b/src/config.rs index 12ab9f45a..cf491b833 100644 --- a/src/config.rs +++ b/src/config.rs @@ -487,11 +487,6 @@ impl Config { | Self::ForceEncryption, ) } - - /// Whether the config option needs an IO scheduler restart to take effect. - pub(crate) fn needs_io_restart(&self) -> bool { - matches!(self, Config::ConfiguredAddr) - } } impl Context { @@ -670,10 +665,6 @@ impl Context { pub async fn set_config(&self, key: Config, value: Option<&str>) -> Result<()> { Self::check_config(key, value)?; - let _pause = match key.needs_io_restart() { - true => self.scheduler.pause(self).await?, - _ => Default::default(), - }; if key == Config::StatsSending { let old_value = self.get_config(key).await?; let old_value = bool_from_config(old_value.as_deref());