]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: change cleanup and scanning cephfs connection logs to be less noisy 68634/head
authorOmid Yoosefi <omidyoosefi@ibm.com>
Mon, 15 Dec 2025 19:47:59 +0000 (14:47 -0500)
committerVenky Shankar <vshankar@redhat.com>
Tue, 5 May 2026 05:52:52 +0000 (11:22 +0530)
Fixes: https://tracker.ceph.com/issues/76278
Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
src/pybind/mgr/mgr_util.py

index fa44e6c56b90fb1f6e5980892f430db05fb391c3..f493c5637b0fe2c6c1076912941084c50f88b725 100644 (file)
@@ -227,15 +227,15 @@ class CephfsConnectionPool(object):
 
     def cleanup_connections(self) -> None:
         with self.lock:
-            logger.info("scanning for idle connections..")
+            logger.debug("scanning for idle connections...")
             idle_conns = []
             for fs_name, connections in self.connections.items():
                 logger.debug(f'fs_name ({fs_name}) connections ({connections})')
                 for connection in connections:
                     if connection.is_connection_idle(CephfsConnectionPool.CONNECTION_IDLE_INTERVAL):
                         idle_conns.append((fs_name, connection))
-            logger.info(f'cleaning up connections: {idle_conns}')
             for idle_conn in idle_conns:
+                logger.info(f'cleaning up connection: {idle_conn}')
                 self._del_connection(idle_conn[0], idle_conn[1])
 
     def get_fs_handle(self, fs_name: str) -> "cephfs.LibCephFS":