diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2025-08-29 16:04:21 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai3@huawei.com> | 2025-09-06 17:19:19 +0800 |
| commit | fb8cc3b0d9db94817a5aae2bcaf78dd079a89e52 (patch) | |
| tree | edef6255f5704cc4b2d3b279be2d2e15aae97c03 /rust/helpers/bug.c | |
| parent | 180b82c1c7b2c2c5bffc1642239bed36d7e83f76 (diff) | |
md/md-bitmap: delay registration of bitmap_ops until creating bitmap
Currently bitmap_ops is registered while allocating mddev, this is fine
when there is only one bitmap_ops.
Delay setting bitmap_ops until creating bitmap, so that user can choose
which bitmap to use before running the array.
Link: https://lore.kernel.org/linux-raid/20250721171557.34587-7-yukuai@kernel.org
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Li Nan <linan122@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions
