diff options
author | Yu Kuai <yukuai3@huawei.com> | 2025-01-09 04:51:42 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2025-01-13 19:56:10 +0300 |
commit | 4f0e7d0e03b7b80af84759a9e7cfb0f81ac4adae (patch) | |
tree | 0487d4748e8a2f4287fd42d73bd6e9b574a31a51 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 08c50142a128dcb2d7060aa3b4c5db8837f7a46a (diff) | |
download | linux-4f0e7d0e03b7b80af84759a9e7cfb0f81ac4adae.tar.xz |
md/md-bitmap: remove the last parameter for bimtap_ops->endwrite()
For the case that IO failed for one rdev, the bit will be mark as NEEDED
in following cases:
1) If badblocks is set and rdev is not faulty;
2) If rdev is faulty;
Case 1) is useless because synchronize data to badblocks make no sense.
Case 2) can be replaced with mddev->degraded.
Also remove R1BIO_Degraded, R10BIO_Degraded and STRIPE_DEGRADED since
case 2) no longer use them.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250109015145.158868-3-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions