I am trying to access the application I/O data in the kernel using eBPF and came across this project.
I have a couple of questions wrt block filtering and eBPF:
- What is the current best practice to access page data in eBPF - something like kmap_local_page() in kernel code? Is it allowed from eBPF? If not - what are the reasons for not allowing it?
Can we enhance this solution to do continuous data replication of every I/O instead of the snapshot based approach that is being used here?
Any guidance would be greatly appreciated. Thanks!