diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-10-31 11:31:08 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-11-05 16:08:38 -0800 |
commit | 4abfce19c7fb090c93e6677e26b2c709ca6f6fd8 (patch) | |
tree | 79d58db88cf48deea14be9c3a864e69891ef5199 /rust/helpers/task.c | |
parent | 1e79892e76a78f33deecc895086bef92d8147183 (diff) | |
download | linux-4abfce19c7fb090c93e6677e26b2c709ca6f6fd8.tar.gz linux-4abfce19c7fb090c93e6677e26b2c709ca6f6fd8.tar.bz2 linux-4abfce19c7fb090c93e6677e26b2c709ca6f6fd8.zip |
md: add a new helper rdev_blocked()
The helper will be used in later patches for raid1/raid10/raid5, the
difference is that Faulty rdev with unacknowledged bad block will not
be considered blocked.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Tested-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Link: https://lore.kernel.org/r/20241031033114.3845582-2-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions