Re:Disk I/O bottlenecks in GitHub Actions
by formerly_proven on Friday March 28, 2025 @01:16PM
(#43507857)
You can probably use a BPF return override on fsync and fdatasync and sync_file_range, considering that the main use case of that feature is syscall-level error injection.
edit: Or, even easier, just use the pre-built fail_function infrastructure (with retval = 0 instead of an error): https://docs.kernel.org/fault-injection/fault-injection.html