diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2025-01-09 09:51:42 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:58:11 +0100 |
| commit | 88564ef736fba371b3d20682cf837308d834c69b (patch) | |
| tree | 0bda58fa7b129ad5b9e6d5341cfcd4ca950fdf32 /scripts/stackusage | |
| parent | dc1967143ab90434e6b958cefa90e2fefbbe732f (diff) | |
| download | linux-88564ef736fba371b3d20682cf837308d834c69b.tar.gz linux-88564ef736fba371b3d20682cf837308d834c69b.tar.bz2 linux-88564ef736fba371b3d20682cf837308d834c69b.zip | |
md/md-bitmap: remove the last parameter for bimtap_ops->endwrite()
commit 4f0e7d0e03b7b80af84759a9e7cfb0f81ac4adae upstream.
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>
Signed-off-by: Yu Kuai <yukuai1@huaweicloud.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
