diff options
| author | chrislu <chris.lu@gmail.com> | 2025-08-30 15:09:47 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-08-30 15:09:47 -0700 |
| commit | ba318bdac37427f84cd937887710f717d0b6124b (patch) | |
| tree | 15b37bed2a8f6db9e7d070880db35d2d8febc68c /weed/mount/ml/open_file_cache_test.go | |
| parent | e76f632907fb0f4687429b00188fcf38578480df (diff) | |
| download | seaweedfs-ba318bdac37427f84cd937887710f717d0b6124b.tar.xz seaweedfs-ba318bdac37427f84cd937887710f717d0b6124b.zip | |
Reorganize ML optimization into dedicated package
- Move ML components to weed/mount/ml package for better organization
- Create main MLOptimization interface with configuration
- Separate prefetch, access pattern detection, and ML reader cache components
- Add comprehensive configuration and metrics interface
- Maintain backward compatibility with existing mount package
- Package structure:
* weed/mount/ml/prefetch.go - Prefetch manager
* weed/mount/ml/access_pattern.go - Pattern detection
* weed/mount/ml/ml_reader_cache.go - ML-aware reader cache
* weed/mount/ml/ml.go - Main interface and configuration
Test status: 17/22 tests passing, core functionality solid
Package compiles cleanly with proper import structure
Diffstat (limited to 'weed/mount/ml/open_file_cache_test.go')
0 files changed, 0 insertions, 0 deletions
