diff options
| author | Li Nan <[email protected]> | 2023-12-15 10:38:51 +0800 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2023-12-15 15:22:15 -0800 |
| commit | 1979dbbe328ca4e1d0f061c94381cfa03388088d (patch) | |
| tree | 57a87fab3d75f2a65e7d211ba644b47aa6109ade /tools/perf/scripts/python/task-analyzer.py | |
| parent | dc1cc22ed58f11d58d8553c5ec5f11cbfc3e3039 (diff) | |
md: factor out a helper exceed_read_errors() to check read_errors
Move check_decay_read_errors() to raid1-10.c and factor out a helper
exceed_read_errors() to check if read_errors exceeds the limit, so that
raid1 can also use it. There are no functional changes.
Signed-off-by: Li Nan <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions