diff options
author | Damien Le Moal <[email protected]> | 2024-07-04 14:28:13 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-07-05 00:42:04 -0600 |
commit | ae7e965b36e3132238d16b4ccd223f65162397b5 (patch) | |
tree | a4f0c627687aba55e6fc196673418078a5d11c08 /scripts/bpf_doc.py | |
parent | f4d5dc33c823ef1d7ccbbd2d1e40b871fad0012b (diff) |
dm: Refactor is_abnormal_io()
Use a single switch-case to simplify is_abnormal_io() and make this
function more readable and easier to modify.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions