summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>2025-02-26 13:06:10 +0300
committerJens Axboe <axboe@kernel.dk>2025-03-03 21:17:52 +0300
commit800c24391676143695d284f70af297b28a809886 (patch)
treec1ff2b9a7f214426c65774ed704115c7c25dde2a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent2cadb8ef25a6157b5bd3e8fe0d3e23f32defec25 (diff)
downloadlinux-800c24391676143695d284f70af297b28a809886.tar.xz
null_blk: introduce badblocks_once parameter
When IO errors happen on real storage devices, the IOs repeated to the same target range can success by virtue of recovery features by devices, such as reserved block assignment. To simulate such IO errors and recoveries, introduce the new parameter badblocks_once parameter. When this parameter is set to 1, the specified badblocks are cleared after the first IO error, so that the next IO to the blocks succeed. Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> Link: https://lore.kernel.org/r/20250226100613.1622564-3-shinichiro.kawasaki@wdc.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions