v.25.7Improvement

Refactor dynamic resize feature of filesystem cache

Refactor dynamic resize feature of filesystem cache. Added more logs for introspection. #82556 (Kseniia Sumarokova).
Refactored the dynamic resize feature of the filesystem cache in ClickHouse to improve its functionality and added enhanced logging for better introspection.

Why it matters

The update improves the dynamic resizing mechanism of the filesystem cache, making it more robust and easier to monitor by providing additional logs. This helps users better understand cache behavior and troubleshoot caching issues effectively.

How to use it

The dynamic resize of the filesystem cache continues to work as before, but now users can benefit from enhanced logging. To leverage these new introspection capabilities, users should ensure logging is properly configured to capture the additional cache logs.