mirror of
https://github.com/rustfs/rustfs.git
synced 2026-12-03 06:36:35 +00:00
6b014ec215
* feat(capacity): read usage directly on dedicated mounts Allow operators of dedicated filesystems to use block usage for background capacity estimates. Reuse the existing blocking scan and cache update paths so a successful probe establishes the per-disk baseline. Refs: rustfs/rustfs#9837 Refs: rustfs/backlog#3399 Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * refactor(capacity): verify whole mounts before reading usage Share mount eligibility across a refresh and read allocated blocks through the checked directory descriptor. Rebuild a complete per-disk baseline when the local disk set changes. Refs: rustfs/rustfs#9837 Refs: rustfs/backlog#3399 Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * fix(capacity): discard stale topology on bounded refresh Reconcile a scheduled full refresh against the topology it scanned. Represent baseline completeness with the per-disk map and compute aggregate totals in one pass. Refs: rustfs/rustfs#9837 Refs: rustfs/backlog#3399 Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> * fix(capacity): restrict direct reads to isolated filesystem types Use the filesystem type from the existing descriptor-based statfs call to keep shared-pool accounting out of the direct mount path. Cover directory fallback and symlinked mount roots. Refs: rustfs/rustfs#9837 Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com> --------- Co-authored-by: heihutu <heihutu@gmail.com> Co-authored-by: zhi22915 <qiuzgang@gmail.com> Co-authored-by: qunjiazhu <qunjiazhu@gmail.com>
RustFS Utils - Utility Functions
Essential utility functions and common tools for RustFS distributed object storage
📖 Documentation
· 🐛 Bug Reports
· 💬 Discussions
📖 Overview
RustFS Utils provides essential utility functions and common tools for the RustFS distributed object storage system. For the complete RustFS experience, please visit the main RustFS repository.
✨ Features
- Cross-platform system operations and monitoring
- File system utilities with atomic operations
- Multi-algorithm compression and encoding support
- Cryptographic utilities and secure key generation
- Network utilities and protocol helpers
- Certificate handling and validation tools
📚 Documentation
For comprehensive documentation, examples, and usage guides, please visit the main RustFS repository.
📄 License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
