diff options
| author | Yu Kuai <yukuai@fnnas.com> | 2026-04-25 05:46:15 +0300 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-04-28 15:44:38 +0300 |
| commit | f2926a533d03fe70d753b512b713e06a2aa174af (patch) | |
| tree | fea6bcd026cfec1735ad4143bcbaa4c274fc3ffd /include/linux/errseq.h | |
| parent | aba3d6d6cb55c6e1116d1215140559dd7ecdf9a9 (diff) | |
| download | linux-f2926a533d03fe70d753b512b713e06a2aa174af.tar.xz | |
md/md-bitmap: add a none backend for bitmap grow
Add a real none bitmap backend that exposes the common bitmap sysfs
group and use it to keep bitmap/location available when an array has no
bitmap.
Then switch the bitmap location sysfs path to move only between none
and the classic bitmap backend, using the no-sysfs bitmap helpers while
merging or unmerging the internal bitmap sysfs group.
This restores mdadm --grow bitmap addition through bitmap/location.
Fixes: fb8cc3b0d9db ("md/md-bitmap: delay registration of bitmap_ops until creating bitmap")
Reviewed-by: Su Yue <glass.su@suse.com>
Link: https://lore.kernel.org/r/20260425024615.1696892-4-yukuai@fnnas.com
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'include/linux/errseq.h')
0 files changed, 0 insertions, 0 deletions
