mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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 4c13dd3b48 ("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
This commit is contained in:
parent
8663dd38a7
commit
195a56986c
1 changed files with 20 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue