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 /Documentation/admin-guide | |
| parent | md/md-bitmap: add a new sysfs api bitmap_type (diff) | |
| download | linux-fb8cc3b0d9db94817a5aae2bcaf78dd079a89e52.tar.gz linux-fb8cc3b0d9db94817a5aae2bcaf78dd079a89e52.zip | |
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 'Documentation/admin-guide')
| -rw-r--r-- | Documentation/admin-guide/md.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/admin-guide/md.rst b/Documentation/admin-guide/md.rst index 356d2a344f08..001363f81850 100644 --- a/Documentation/admin-guide/md.rst +++ b/Documentation/admin-guide/md.rst @@ -388,6 +388,9 @@ All md devices contain: bitmap The default internal bitmap +If bitmap_type is not none, then additional bitmap attributes bitmap/xxx or +llbitmap/xxx will be created after md device KOBJ_CHANGE event. + If bitmap_type is bitmap, then the md device will also contain: bitmap/location |
