1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Machine learning features.
//!
//! Provides content classification, content-aware processing,
//! GF solver/algorithms, and ML-based prefetching.
//!
//! ## ARC Integration
//!
//! The `arc_adapter` module connects ML prefetching to the ARC cache:
//!
//! ```rust,ignore
//! use lcpfs::ml::arc_adapter;
//! use lcpfs::storage::dva::Dva;
//!
//! // Record reads to train the ML model and trigger prefetches
//! let dva = Dva::new(0, offset, size);
//! let prefetches_issued = arc_adapter::record_read(dva, size, Some(file_id));
//!
//! // Check prefetch effectiveness
//! let hit_rate = arc_adapter::get_hit_rate();
//! println!("Prefetch hit rate: {:.1}%", hit_rate * 100.0);
//!
//! // Get detailed statistics
//! let stats = arc_adapter::get_stats();
//! ```
/// ARC/L2ARC integration for ML prefetching.
/// File type classification.
/// Content-aware processing (compression, tiering).
/// Galois field arithmetic algorithms.
/// Galois field solver for erasure coding.
/// ML-based prefetch prediction.
pub use ;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;