Re: [PATCH 0/2] btrfs: add error injection support for checksum verification
Song Chen <[email protected]>
| Newsgroups | org.kernel.vger.linux-arch,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Dear Maintainers and Reviewers, This is friendly ping on this patchset. The motive is rational and the implementation is simple and clear, what's more, no impact to any other function. I would appreciate it if you could have a look and leave comments. Best regards, Song On 7/2/26 10:36, Song Chen wrote: > This patchset adds fault injection support for btrfs_data_csum_ok, > enabling controlled simulation of checksum mismatches to test btrfs > silent data corruption detection and reporting paths. > > The first patch extends the error injection framework with a new type, > EI_ETYPE_FALSE, which allows bool-returning functions to be overridden > with a false return value directly. > > The second patch marks btrfs_data_csum_ok with ALLOW_ERROR_INJECTION > using this new type. > > Song Chen (2): > error-injection: Introduce EI_ETYPE_FALSE for fail_function > btrfs: Allow error injection on btrfs_data_csum_ok > > fs/btrfs/inode.c | 1 + > include/asm-generic/error-injection.h | 1 + > kernel/fail_function.c | 2 ++ > 3 files changed, 4 insertions(+) >