summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc.rs
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-01-09 04:51:44 +0300
committerSong Liu <song@kernel.org>2025-01-13 19:56:11 +0300
commit9c89f604476cf15c31fbbdb043cff7fbf1dbe0cb (patch)
treec23c8d75a76c394a4f96c6e5f62881e984c2e42c /rust/kernel/alloc.rs
parent0c984a283a3ea3f10bebecd6c57c1d41b2e4f518 (diff)
downloadlinux-9c89f604476cf15c31fbbdb043cff7fbf1dbe0cb.tar.xz
md/raid5: implement pers->bitmap_sector()
Bitmap is used for the whole array for raid1/raid10, hence IO for the array can be used directly for bitmap. However, bitmap is used for underlying disks for raid5, hence IO for the array can't be used directly for bitmap. Implement pers->bitmap_sector() for raid5 to convert IO ranges from the array to the underlying disks. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20250109015145.158868-5-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'rust/kernel/alloc.rs')
0 files changed, 0 insertions, 0 deletions