summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-11-13 09:39:45 +0100
committerVlastimil Babka <vbabka@suse.cz>2025-11-13 17:10:38 +0100
commitb77fc08e393b77883bcb71825cfd49e44da44022 (patch)
tree518aec1b9aba698a104dcec66b1ecbb5fa34f86b /tools/lib/python/kdoc/kdoc_files.py
parent5c829783e5f8dbb7ca6fce50c5c4a33f7c75d0d4 (diff)
mempool: add error injection support
Add a call to should_fail_ex that forces mempool to actually allocate from the pool to stress the mempool implementation when enabled through debugfs. By default should_fail{,_ex} prints a very verbose stack trace that clutters the kernel log, slows down execution and triggers the kernel bug detection in xfstests. Pass FAULT_NOWARN and print a single-line message notating the caller instead so that full tests can be run with fault injection. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Vlastimil Babka <vbabka@suse.cz> Link: https://patch.msgid.link/20251113084022.1255121-5-hch@lst.de Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions