diff options
author | Breno Leitao <leitao@debian.org> | 2024-07-26 14:09:30 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-08-07 20:53:34 +0200 |
commit | 195a56986c50599e5d10a558c12f74266fd51bab (patch) | |
tree | 8fab14cbeaeb67a0b38f36d34adf8442e80d39ef /Documentation/bpf/prog_sk_lookup.rst | |
parent | docs/zh_CN: fix a broken reference (diff) | |
download | linux-195a56986c50599e5d10a558c12f74266fd51bab.tar.xz linux-195a56986c50599e5d10a558c12f74266fd51bab.zip |
docs: fault-injection: document cache-filter feature for failslab
The failslab fault injection mechanism has an undocumented capability
that provides significant utility in testing and debugging. This feature,
introduced in commit 4c13dd3b48fcb ("failslab: add ability to filter slab
caches"), allows for targeted error injection into specific slab caches.
However, it was inadvertently left undocumented at the time of its
implementation.
Add documentation for the cache-filter feature in the failslab mode
description. Also, providing a practical example demonstrating how to
use cache-filter to inject failures specifically when allocating socket
buffers (skbs).
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240726120930.3231333-1-leitao@debian.org
Diffstat (limited to 'Documentation/bpf/prog_sk_lookup.rst')
0 files changed, 0 insertions, 0 deletions