diff options
author | Li Nan <linan122@huawei.com> | 2025-02-27 10:55:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-03-06 18:03:28 +0300 |
commit | 3a23d05f9c1abf8238fe48167ab5574062d1606e (patch) | |
tree | c39115927dbd1f998291866cb4a455c8430c2bbd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 37446680dfbfbba7cbedd680047182f70a0b857b (diff) | |
download | linux-3a23d05f9c1abf8238fe48167ab5574062d1606e.tar.xz |
badblocks: try can_merge_front before overlap_front
Regardless of whether overlap_front() returns true or false,
can_merge_front() will be executed first. Therefore, move
can_merge_front() in front of can_merge_front() to simplify code.
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250227075507.151331-8-zhengqixing@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions