在 2025/1/1 7:34, Vishnu ks 写道:
Dear Community, I would like to propose a discussion topic regarding the enhancement of block layer tracepoints, which could fundamentally transform how backup and recovery systems operate on Linux. Current Scenario: - I'm developing a continuous data protection system using eBPF to monitor block request completions
I am interested in this "eBPF to monitor block request". Will this eBPF make difference on the performance of the whole system? And how to use eBPF to implement this feature? Hope to join the meeting to listen to this topic.
Best Regards, Zhu Yanjun
- The system aims to achieve reliable live data replication for block devices Current tracepoints present challenges in capturing the complete lifecycle of write operations Potential Impact: - Transform Linux Backup Systems: - Enable true continuous data protection at block level - Eliminate backup windows by capturing changes in real-time - Reduce recovery point objectives (RPO) to near-zero - Allow point-in-time recovery at block granularity Current Technical Limitations: - Inconsistent visibility into write operation completion - Gaps between write operations and actual data flushes - Potential missing instrumentation points - Challenges in ensuring data consistency across replicated volumes Proposed Improvements: - Additional tracepoints for better write operation visibility - Optimal placement of existing tracepoints - New instrumentation points for reliable block-level monitoring Implementation Considerations: - Performance impact of additional tracepoints - Integration with existing block layer infrastructure - Compatibility with various storage backends - Requirements for consistent backup state These improvements could revolutionize how we approach backup and recovery on Linux systems: - Move from periodic snapshots to continuous data protection - Enable more granular recovery options - Reduce system overhead during backup operations - Improve reliability of backup systems - Enhance disaster recovery capabilities This discussion would benefit both the block layer and BPF communities, as well as the broader Linux ecosystem, particularly enterprises requiring robust backup and recovery solutions. Looking forward to the community's thoughts and feedback. Best regards,